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