POST api/PhotoType/CRUD
Add/Update/Delete PhotoTypes
Request Information
URI Parameters
None.
Body Parameters
String Array of PhotoTypes And Information(Mandatory)
Collection of PhotoTypeInfoName | Description | Type | Additional information |
---|---|---|---|
PhotoTypeId | integer |
None. |
|
IsDeleted | boolean |
None. |
|
PhotoTypeName | string |
None. |
|
Deleted | integer |
None. |
Request Formats
application/json, text/json
Sample:
[ { "PhotoTypeId": 1, "IsDeleted": true, "PhotoTypeName": "sample string 3", "Deleted": 1 }, { "PhotoTypeId": 1, "IsDeleted": true, "PhotoTypeName": "sample string 3", "Deleted": 1 } ]
application/xml, text/xml
Sample:
<ArrayOfPhotoTypeInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClassLibraryITTF1"> <PhotoTypeInfo> <Deleted>1</Deleted> <IsDeleted>true</IsDeleted> <PhotoTypeId>1</PhotoTypeId> <PhotoTypeName>sample string 3</PhotoTypeName> </PhotoTypeInfo> <PhotoTypeInfo> <Deleted>1</Deleted> <IsDeleted>true</IsDeleted> <PhotoTypeId>1</PhotoTypeId> <PhotoTypeName>sample string 3</PhotoTypeName> </PhotoTypeInfo> </ArrayOfPhotoTypeInfo>
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>