| Field Name | Data Type | Required | Description |
|---|---|---|---|
guid | String | Mandatory | Unique identifier for the record tracking instance |
company-travel-manager | String | Mandatory | Full name of the designated corporate travel manager |
company-travel-manager-title | String | Mandatory | The legal designation or title of the travel manager. |
company-contact-email | String | Mandatory | Primary contact email address for corporate communications. |
company_name | String | Mandatory | Registered corporate legal entity name. |
company-id | String | Mandatory | Unique system identifier for the corporate client. |
company-cc | String | Optional | Secondary Contact Email address for corporate communications. |
agency-contact-name | String | Optional | Name of the primary point of contact of the agency. |
agency-contact-email | String | Optional | Email address for the agency's primary contact person. |
agency-number | String | Optional | Account number for agency records. |
agency-name | String | Mandatory | Full business name of the travel agency. |
agency-cc | String | Optional | Email address of Agency's Secondary Contact. |
agency-address-line-1 | String | Optional | Street address line 1 for the agency's location. |
agency-address-line-2 | String | Optional | Suite, unit, or city/state for the agency's location. |
effective-date | String | Mandatory | Date the agreement comes into effect in YYYY-MM-DD format. |
bookings-begin-date | String | Mandatory | Start date for tracking eligible active bookings in YYYY-MM-DD format. |
specific-end-date | String | Optional | Specified expiration date for the agreement if applicable in YYYY-MM-DD format. |
form-id | String | Mandatory | DRF Template Id. |
airline-code | Number | Mandatory | Numeric code representing the airline carrier . |
airline-sales-rep-name | String | Mandatory | Assigned airline corporate sales representative name. |
airline-sales-rep-email | String | Mandatory | Contact Email address for the airline sales representative. |
airline-cc | String | Optional | Contact Email address for the airline secondary contact. |
jv-carriers-list | String | Mandatory | Comma-separated list details of participating joint-venture carriers. |
airline-main-email | String | Mandatory | Email address for airline communication alerts. |
| Field | Type | Description |
|---|---|---|
company_name | String | Returns back the processed company's name. |
guid | String | Mapped identifier matching the entry record. |
agency-name | String | Returns back the handling agency's name. |
statusCode | Number | Individual Entry Execution Code. |
error | String | Displays tracking validation error text messages if processing fails. |
curl --location --globoff 'https://agreements-api.{{env}}adc.arc.travel/agreements/api/send' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"guid": "87546-uat-83-guid94",
"company-travel-manager": "Mgr Name",
"company-travel-manager-title": "Travel Manager",
"company-contact-email": "travel.manager@demo.demo",
"company_name": "UAT Corp",
"company-id": "UAT0917202401",
"agency-contact-name": "Agency Contact",
"agency-contact-email": "agency.contact@agency.demo",
"agency-number": 99999999,
"agency-name": "Agency Name",
"agency-address-line-1": "1122 Testing Avenue",
"agency-address-line-2": "Testing, VA",
"effective-date": "05/31/2021",
"bookings-begin-date": "01/01/2021",
"specific-end-date": "",
"form-id": "XX-2024-01-19",
"airline-code": 1,
"airline-sales-rep-name": "Airline Rep",
"airline-sales-rep-email": "airline.rep@airline.demo",
"jv-carriers-list": "Test Carrier, Test Airlines, Test Lines, Test Skies, Test in the Clouds",
"airline-main-email": "dra-inbox@airline.demo"
}
]'[
{
"company_name": "Corp Name88",
"guid": "guid-1",
"agency-name": "Agency Name",
"statusCode": 200
}
]