POST api/Candidate/GetAllOfficeAndStateByCountryId
Request Information
URI Parameters
None.
Body Parameters
CandidateOfficeLogSearch| Name | Description | Type | Additional information |
|---|---|---|---|
| OfficeIds | Collection of integer |
None. |
|
| StateId | Collection of integer |
None. |
|
| CountryId | integer |
None. |
|
| OffceStateCollection | string |
None. |
|
| LocationContextCode | string |
None. |
|
| OfficeStateMap | Collection of OfficeStateMap |
None. |
Request Formats
application/json, text/json
Sample:
{
"OfficeIds": [
1,
2
],
"StateId": [
1,
2
],
"CountryId": 1,
"OffceStateCollection": "sample string 2",
"LocationContextCode": "sample string 3",
"OfficeStateMap": [
{
"OfficeId": 1,
"StateId": 2
},
{
"OfficeId": 1,
"StateId": 2
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of CandidateOfficeAggregateDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| OfficeId | integer |
None. |
|
| OfficeName | string |
None. |
|
| StateId | integer |
None. |
|
| StateName | string |
None. |
|
| StateCode | string |
None. |
|
| OfficeIds | string |
None. |
|
| AssignedCandidates | integer |
None. |
|
| AvailableCandidates | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"OfficeId": 1,
"OfficeName": "sample string 2",
"StateId": 3,
"StateName": "sample string 4",
"StateCode": "sample string 5",
"OfficeIds": "sample string 6",
"AssignedCandidates": 7,
"AvailableCandidates": 8
},
{
"OfficeId": 1,
"OfficeName": "sample string 2",
"StateId": 3,
"StateName": "sample string 4",
"StateCode": "sample string 5",
"OfficeIds": "sample string 6",
"AssignedCandidates": 7,
"AvailableCandidates": 8
}
]