Only the client needs to be logged in to use this endpoint. The user does not need to be logged in, click here to read more.
Use this API to register recruitments. The recruiter and the persons recruited are created in Connect. A recruitment is processed as an order in Connect.
{- "product": "CO27409",
- "campaign": "Spring2019",
- "recruiter": {
- "name": {
- "firstName": "Kari",
- "middleName": "Snøhaug",
- "lastName": "Nordmann"
}, - "address": {
- "streetAddress": "Osloveien",
- "streetNumber": 12,
- "entrance": "B",
- "floor": 3,
- "postalCode": "0101",
- "postalPlace": "Oslo",
- "postalAddress": "Postboks 6",
- "postalAddressPostalCode": "0216",
- "postalAddressPostalPlace": "Oslo",
- "countryCode": "NO"
}, - "phoneNumber": "+4787654321",
- "email": "kari.nordmann@gmail.com"
}, - "recruitmentPremiumPreferences": [
- {
- "companyCode": "468979834",
- "product": "HS3829",
- "preferenceNumber": 1
}
], - "recruitments": [
- {
- "name": {
- "firstName": "Ola",
- "middleName": "Fjordstrand",
- "lastName": "Nordmann",
- "companyName": "Company International Ltd",
- "departmentName": "Support"
}, - "address": {
- "streetAddress": "Grubbegata",
- "streetNumber": 6,
- "entrance": "A",
- "floor": 6,
- "postalCode": 179,
- "postalPlace": "Oslo",
- "postalAddress": "Postboks 265 Økern",
- "postalAddressPostalCode": "0510",
- "postalAddressPostalPlace": "Oslo",
- "countryCode": "NO"
}, - "couponCode": "WMDigi",
- "couponNumber": 5223,
- "amount": 1,
- "quantity": 1,
- "phoneNumber": "+4712345678",
- "email": "ola.nordmann@company.com"
}
]
}
{- "status": "ok"
}
The user needs to be logged in to use this endpoint, click here to read more.
Use this API for fetching existing recruitments and available points.
OK
Bad Request
Too Many Requests
Internal Server Error
{- "points": 50,
- "products": [
- "CO27409"
], - "recruitments": [
- {
- "recruited": 1,
- "product": "CO27409",
- "active": true,
- "recruitedDate": 1560524119000,
- "points": 42
}
], - "unverifiedRecruitments": [
- {
- "product": "29452",
- "recruitedDate": 1550678119000,
- "status": "Ubehandlet",
- "points": 34
}
]
}
The user needs to be logged in to use this endpoint, click here to read more.
Use this API to register recruitments. The recruiter and the persons recruited are created in Connect. A recruitment is processed as an order in Connect.
"{\n \"product\": \"CO27409\",\n \"campaign\": \"Spring2019\",\n \"recruiter\": {\n \"name\": {\n \"firstName\": \"Kari\",\n \"middleName\": \"Snøhaug\",\n \"lastName\": \"Nordmann\"\n },\n \"address\": {\n \"streetAddress\": \"Osloveien\",\n \"streetNumber\": 12,\n \"entrance\": \"B\",\n \"floor\": 3,\n \"postalCode\": \"0101\",\n \"postalPlace\": \"Oslo\",\n \"postalAddress\": \"Postboks 6\",\n \"postalAddressPostalCode\": \"0216\",\n \"postalAddressPostalPlace\": \"Oslo\",\n \"countryCode\": \"NO\"\n },\n \"phoneNumber\": \"+4787654321\",\n \"email\": \"kari.nordmann@gmail.com\"\n \"customerNumber\": 34272\n },\n \"recruitmentPremiumPreferences\": [\n {\n \"companyCode\": \"468979834\",\n \"product\": \"HS3829\",\n \"preferenceNumber\": 1\n }\n ],\n \"recruitments\": [\n {\n \"name\": {\n \"firstName\": \"Ola\",\n \"middleName\": \"Fjordstrand\",\n \"lastName\": \"Nordmann\",\n \"companyName\": \"Company International Ltd\",\n \"departmentName\": \"Support\"\n },\n \"address\": {\n \"streetAddress\": \"Grubbegata\",\n \"streetNumber\": 6,\n \"entrance\": \"A\",\n \"floor\": 6,\n \"postalCode\": \"0179\",\n \"postalPlace\": \"Oslo\",\n \"postalAddress\": \"Postboks 265 Økern\",\n \"postalAddressPostalCode\": \"0510\",\n \"postalAddressPostalPlace\": \"Oslo\",\n \"countryCode\": \"NO\"\n },\n \"couponCode\": \"Datanews\",\n \"couponNumber\": 1,\n \"amount\": 100,\n \"quantity\": 1,\n \"phoneNumber\": \"+4712345678\",\n \"email\": \"ola.nordmann@company.com\"\n }\n ]\n}"
{- "status": "ok"
}