- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
PUT /api/v1/integrations/external/schedule/{externalId}/setExtraTime
Request Parameters
Parameters indicated with a * are mandatory
Parameter | Type | Description |
---|---|---|
externalId* | String | schedule external id. |
Request Parameters (for message body)
Parameters indicated with a * are mandatory
Parameter | Type | Description |
---|---|---|
CandidateExtIds* | Array [string] | External ids of candidates |
ExtraTime* | Integer | How much time do you need to add for a candidate in minutes |
Comment | String] | Comment |
Sample Request
{
"CandidateExtIds": ["7132", "notExist"],
"ExtraTime": 150,
"Comment": "Ne won't pass without it"
}
Sample successfull Response
{
"Content": {
"SuccessfullyUpdated": [
"7132"
],
"Errors": [
{
"CandidateExtId": "notExist",
"Code": 202,
"Error": "User has not been found"
}
]
},
"Success": true,
"Errors": null
}
Responses
Code | Description |
---|---|
200 | Successful operation |
400 | Possible error codes: 100: Request body can not be null or empty 200: Request does not contains any valid user external ids 300: ScheduleExternalId can not be null or empty 301: Schedule has not been found 302: Schedule is archived 303: Schedule is not activated 305: Schedule is finished 306: Schedule has unlimited time for attempt |
403 | Not allowed to use external API |
500 | Internal server error |
Was this article helpful?