The display approval is a place to store approval elements in the DisplayItinerary. This includes the buttons and messages for approval processes. Created by nick on 2/6/15.
| name | data type | constraints | description |
|---|---|---|---|
| approvalUrl | string | The URL to approve of the itinerary. | |
| rejectionUrl | string | The URL to reject the itinerary. | |
| modificationUrl | string | The URL to modify the itinerary. | |
| messages | array of DisplayOption | A list of messages for the approver/traveler/agent to know what is going on. | |
| showButtons | boolean | required boolean | Whether or not to show the approve/modify/cancel buttons on this approval. |
| history | array of DisplayOption | The history as to what each approver has approved/canceled for this PNR. | |
| header | string | A header message to put at the top of the approval area. | |
| title | string | The title that goes at the top of the approval. | |
| actionRequired | boolean | required boolean | Whether or not to put the attention strip on the approval. |
| subjectPrefix | string | Add a prefix to the subject of the itinerary that will be sent out. | |
| approved | boolean | required boolean | Whether or not this approval has already been approved. |
| approvalUdids | array of DisplayName | A list of udids that are viewable and editable inside the Airtinerary. | |
| udidUrl | string | A URL that the user can go to that will allow them to modify UDIDs in real time. | |
| agentName | string | The agent's full name as they would want to be referenced in a subject or reply to. | |
| showTimeLine | boolean | required boolean | Show the time line graphic on the email. |
| reminder | boolean | required boolean | Whether or not to put the reminder strip on the approval. |
Example
{
"approvalUrl" : "...",
"rejectionUrl" : "...",
"modificationUrl" : "...",
"messages" : [ {
"name" : "...",
"value" : "...",
"position" : 12345
}, {
"name" : "...",
"value" : "...",
"position" : 12345
} ],
"showButtons" : true,
"history" : [ {
"name" : "...",
"value" : "...",
"position" : 12345
}, {
"name" : "...",
"value" : "...",
"position" : 12345
} ],
"header" : "...",
"title" : "...",
"actionRequired" : true,
"subjectPrefix" : "...",
"approved" : true,
"approvalUdids" : [ {
"id" : "...",
"name" : "..."
}, {
"id" : "...",
"name" : "..."
} ],
"udidUrl" : "...",
"agentName" : "...",
"showTimeLine" : true,
"reminder" : true
}