POST api/State/CRUD
Add/Update/Delete PhotoTypes
Request Information
URI Parameters
None.
Body Parameters
String Array of PhotoTypes And Information(Mandatory)
Collection of StateInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| StateId | integer |
None. |
|
| IsDeleted | boolean |
None. |
|
| StateName | string |
None. |
|
| StateCode | string |
None. |
|
| CountryCode | string |
None. |
|
| Logo | string |
None. |
|
| Deleted | integer |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"StateId": 1,
"IsDeleted": true,
"StateName": "sample string 3",
"StateCode": "sample string 4",
"CountryCode": "sample string 5",
"Logo": "sample string 6",
"Deleted": 1
},
{
"StateId": 1,
"IsDeleted": true,
"StateName": "sample string 3",
"StateCode": "sample string 4",
"CountryCode": "sample string 5",
"Logo": "sample string 6",
"Deleted": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfStateInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClassLibraryITTF1">
<StateInfo>
<CountryCode>sample string 5</CountryCode>
<Deleted>1</Deleted>
<IsDeleted>true</IsDeleted>
<Logo>sample string 6</Logo>
<StateCode>sample string 4</StateCode>
<StateId>1</StateId>
<StateName>sample string 3</StateName>
</StateInfo>
<StateInfo>
<CountryCode>sample string 5</CountryCode>
<Deleted>1</Deleted>
<IsDeleted>true</IsDeleted>
<Logo>sample string 6</Logo>
<StateCode>sample string 4</StateCode>
<StateId>1</StateId>
<StateName>sample string 3</StateName>
</StateInfo>
</ArrayOfStateInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>