POST api/JobPosts/GetAvailableTimeSlotsByCandidates
Request Information
URI Parameters
None.
Body Parameters
TimeSlotsInput| Name | Description | Type | Additional information |
|---|---|---|---|
| CandId | integer |
None. |
|
| ScheduleDate | date |
None. |
|
| SkillID | integer |
None. |
|
| JobID | integer |
None. |
|
| CompanyID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CandId": 1,
"ScheduleDate": "2025-12-07T12:46:47.9363345+05:30",
"SkillID": 3,
"JobID": 4,
"CompanyID": 5
}
application/xml, text/xml
Sample:
<TimeSlotsInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoftbreaksAPI.Models"> <CandId>1</CandId> <CompanyID>5</CompanyID> <JobID>4</JobID> <ScheduleDate>2025-12-07T12:46:47.9363345+05:30</ScheduleDate> <SkillID>3</SkillID> </TimeSlotsInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TimeSlotsViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| TimeSlotsList | Collection of TimeSlots |
None. |
|
| IsCallSuccessful | boolean |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"TimeSlotsList": [
{
"CandId": 1,
"ScheduleDate": "2025-12-07T12:46:47.9363345+05:30",
"Slot": "sample string 3",
"SlotID": 4,
"IsBooked": true
},
{
"CandId": 1,
"ScheduleDate": "2025-12-07T12:46:47.9363345+05:30",
"Slot": "sample string 3",
"SlotID": 4,
"IsBooked": true
}
],
"IsCallSuccessful": true,
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<TimeSlotsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoftbreaksAPI.Models">
<IsCallSuccessful>true</IsCallSuccessful>
<Message>sample string 2</Message>
<TimeSlotsList>
<TimeSlots>
<CandId>1</CandId>
<IsBooked>true</IsBooked>
<ScheduleDate>2025-12-07T12:46:47.9363345+05:30</ScheduleDate>
<Slot>sample string 3</Slot>
<SlotID>4</SlotID>
</TimeSlots>
<TimeSlots>
<CandId>1</CandId>
<IsBooked>true</IsBooked>
<ScheduleDate>2025-12-07T12:46:47.9363345+05:30</ScheduleDate>
<Slot>sample string 3</Slot>
<SlotID>4</SlotID>
</TimeSlots>
</TimeSlotsList>
</TimeSlotsViewModel>