POST api/AIData/AddReference
Request Information
URI Parameters
None.
Body Parameters
AIMcpAddReferenceRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| link | string |
Required String length: inclusive between 0 and 2048 |
|
| provider | string |
Required String length: inclusive between 0 and 50 |
|
| origin | string |
String length: inclusive between 0 and 200 |
|
| destination | string |
String length: inclusive between 0 and 200 |
|
| departDateTime | date |
None. |
|
| returnDateTime | date |
None. |
|
| classOfService | string |
String length: inclusive between 0 and 50 |
|
| carrierCode | string |
String length: inclusive between 0 and 200 |
|
| cost | decimal number |
Range: inclusive between 0 and 9999999999999999.99 |
|
| currencyCode | string |
String length: inclusive between 0 and 3 |
|
| jsonLog | Collection of Object |
None. |
|
| guid | string |
Required String length: inclusive between 0 and 200 |
Request Formats
application/json, text/json
Sample:
{
"link": "sample string 1",
"provider": "sample string 2",
"origin": "sample string 3",
"destination": "sample string 4",
"departDateTime": "2026-11-03T18:48:22.625038+00:00",
"returnDateTime": "2026-11-03T18:48:22.625038+00:00",
"classOfService": "sample string 5",
"carrierCode": "sample string 6",
"cost": 1.0,
"currencyCode": "sample string 7",
"jsonLog": null,
"guid": "sample string 8"
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
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.