POST api/Tbl_Shahrestan
Request Information
URI Parameters
None.
Body Parameters
Tbl_Shahrestan| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| PK_Ostan | integer |
None. |
|
| Title | string |
None. |
|
| tarh | boolean |
None. |
|
| name | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"PK_Ostan": 1,
"Title": "sample string 2",
"tarh": true,
"name": "sample string 3"
}
text/html
Sample:
{"ID":1,"PK_Ostan":1,"Title":"sample string 2","tarh":true,"name":"sample string 3"}
application/xml, text/xml
Sample:
<Tbl_Shahrestan xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AnjomanServices.Models"> <ID>1</ID> <PK_Ostan>1</PK_Ostan> <Title>sample string 2</Title> <name>sample string 3</name> <tarh>true</tarh> </Tbl_Shahrestan>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Tbl_Shahrestan| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| PK_Ostan | integer |
None. |
|
| Title | string |
None. |
|
| tarh | boolean |
None. |
|
| name | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": 1,
"PK_Ostan": 1,
"Title": "sample string 2",
"tarh": true,
"name": "sample string 3"
}
text/html
Sample:
{"ID":1,"PK_Ostan":1,"Title":"sample string 2","tarh":true,"name":"sample string 3"}
application/xml, text/xml
Sample:
<Tbl_Shahrestan xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AnjomanServices.Models"> <ID>1</ID> <PK_Ostan>1</PK_Ostan> <Title>sample string 2</Title> <name>sample string 3</name> <tarh>true</tarh> </Tbl_Shahrestan>