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