POST api/JobPosts/GetListOfAllCitiesAndSizeRange
Request Information
URI Parameters
None.
Body Parameters
CityAndSizeRangeInput| Name | Description | Type | Additional information |
|---|---|---|---|
| CompanyID | integer |
None. |
|
| JobID | integer |
None. |
|
| ClientCity | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CompanyID": 1,
"JobID": 2,
"ClientCity": "sample string 3"
}
application/xml, text/xml
Sample:
<CityAndSizeRangeInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoftbreaksAPI.Models"> <ClientCity>sample string 3</ClientCity> <CompanyID>1</CompanyID> <JobID>2</JobID> </CityAndSizeRangeInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CityAndSizeRangeViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| SizeRangeList | Collection of SizeRange |
None. |
|
| CityList | Collection of City |
None. |
|
| IsCallSuccessful | boolean |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"SizeRangeList": [
{
"CategoryID": 1,
"CategoryType": "sample string 2",
"CategoryRange": "sample string 3"
},
{
"CategoryID": 1,
"CategoryType": "sample string 2",
"CategoryRange": "sample string 3"
}
],
"CityList": [
{
"CityName": "sample string 1"
},
{
"CityName": "sample string 1"
}
],
"IsCallSuccessful": true,
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<CityAndSizeRangeViewModel 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>
<CityList>
<City>
<CityName>sample string 1</CityName>
</City>
<City>
<CityName>sample string 1</CityName>
</City>
</CityList>
<SizeRangeList>
<SizeRange>
<CategoryID>1</CategoryID>
<CategoryRange>sample string 3</CategoryRange>
<CategoryType>sample string 2</CategoryType>
</SizeRange>
<SizeRange>
<CategoryID>1</CategoryID>
<CategoryRange>sample string 3</CategoryRange>
<CategoryType>sample string 2</CategoryType>
</SizeRange>
</SizeRangeList>
</CityAndSizeRangeViewModel>