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