POST api/County/Add
Request Information
URI Parameters
None.
Body Parameters
CountyAddDtoName | Description | Type | Additional information |
---|---|---|---|
Code | string |
None. |
|
Name | string |
None. |
|
CityID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "code": "sample string 1", "name": "sample string 2", "cityID": "91be0dfd-64ed-4403-9d7c-741af2980b4c" }
application/xml, text/xml
Sample:
<CountyAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TP.TulTrack.Core.Service.DTOs"> <CityID>91be0dfd-64ed-4403-9d7c-741af2980b4c</CityID> <Code>sample string 1</Code> <Name>sample string 2</Name> </CountyAddDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/html
Sample:
{"code":"sample string 1","name":"sample string 2","cityID":"91be0dfd-64ed-4403-9d7c-741af2980b4c"}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, text/html
Sample:
Sample not available.