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