Save correspondence and attachments
POST {{baseUrl}}/memos/correspondattach
By submitting memo identifying details, carriers, agencies and system providers can add a public and/or private coresspondence to one or more memos and optionally attach one or more files to the selected memos. To select the memos (at least one), provide the airline code, arc # and memo # separted by a semicolin. The public correspondence message (optional) and/or privte correspondence message will be applied to each memo in the list. The selected attachments (optional) will also be applied to each of the provided memos. The body of the request should be structured as follows:
memo: 006;49560744;8960222333
memo: 001;49560744;8960444555
publicCorrespondence: These memos are in dispute.
privateCorrespondence: These memos are in dispute.
fileData: (attachment data from first file)
fileData: (attachment data from second file if needed)
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"transactionMetadata":{"correlationId":"f89206c0-8a14-11ea-81cf-c8f750c849f4","timestamp":"2020-04-29T08:28:57.804-04:00","message":"SUCCESS","statusCode":"SUCCESS"},"transactionResponse":{"memos":[{"validatingAirlineDesignator":"006","agentNumericCode":"05600313","memoNumber":"8960800800","attachments":[{"filename":"calendar.pdf","attachmentId":"480069210"},{"filename":"small.docx","attachmentId":"480069211"}],"correspondence":[{"author":"ldapAgtApiDisplayNm","message":"This correspondence is public","correspondenceType":"Public"},{"author":"ldapAgtApiDisplayNm","message":"This correspondence is private","correspondenceType":"Private Agency"}],"message":{"statusCode":"SUCCESS"}},{"validatingAirlineDesignator":"006","agentNumericCode":"05600313","memoNumber":"8960900900","attachments":[{"filename":"calendar.pdf","attachmentId":"480069210"},{"filename":"small.docx","attachmentId":"480069211"}],"correspondence":[{"author":"ldapAgtApiDisplayNm","message":"This correspondence is public","correspondenceType":"Public"},{"author":"ldapAgtApiDisplayNm","message":"This correspondence is private","correspondenceType":"Private Agency"}],"message":{"statusCode":"SUCCESS"}}]}}