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