POST api/AIData/Add
Request Information
URI Parameters
None.
Body Parameters
AIMcpAddRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| profileId | integer |
None. |
|
| pcc | string |
String length: inclusive between 0 and 20 |
|
| dkNumber | string |
String length: inclusive between 0 and 50 |
|
| applicationDomain | string |
String length: inclusive between 0 and 100 |
|
| bookingChannel | string |
String length: inclusive between 0 and 50 |
|
| deviceType | string |
String length: inclusive between 0 and 50 |
|
| phone | string |
String length: inclusive between 0 and 30 |
|
| string |
String length: inclusive between 0 and 254 |
||
| fullName | string |
String length: inclusive between 0 and 200 |
|
| guid | string |
Required String length: inclusive between 0 and 200 |
Request Formats
application/json, text/json
Sample:
{
"profileId": 1,
"pcc": "sample string 1",
"dkNumber": "sample string 2",
"applicationDomain": "sample string 3",
"bookingChannel": "sample string 4",
"deviceType": "sample string 5",
"phone": "sample string 6",
"email": "sample string 7",
"fullName": "sample string 8",
"guid": "sample string 9"
}
application/xml, text/xml
Sample:
<AIMcpAddRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model"> <GUID>sample string 9</GUID> <ApplicationDomain>sample string 3</ApplicationDomain> <BookingChannel>sample string 4</BookingChannel> <DKNumber>sample string 2</DKNumber> <DeviceType>sample string 5</DeviceType> <Email>sample string 7</Email> <FullName>sample string 8</FullName> <PCC>sample string 1</PCC> <Phone>sample string 6</Phone> <ProfileId>1</ProfileId> </AIMcpAddRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.