POST BlendTicketDocument/CreateBlendDocuments
Create blend ticket documents for the requested tickets
Request Information
URI Parameters
Body Parameters
Object used to create the documents.
ClsBlendTicketDocumentCreationRequest| Name | Description | Type | Additional Information |
|---|---|---|---|
| MergeToSingleFile |
Set to merge all of the requested files into a single pdf document |
boolean | |
| Tickets |
The list of tickets and document types for which to create pdfs |
Collection of ClsBlendTicketDocumentCreationRequestItem |
Required List cannot be empty |
Request Formats
application/json, text/json
{
"MergeToSingleFile": true,
"Tickets": [
{
"BlendTicketGuid": "2131cc4b-bbc9-453c-ac03-9276ba7cbfab",
"IncludeBatchDocument": true,
"IncludeCustomApplicationDocument": true,
"IncludeFullPageMap": true,
"CustomAppFormat": 0,
"MapZoomLevel": 5,
"CustomAppPrintSignature": true,
"MapUsesApplicationZoneWhenPresent": true,
"FieldGuidsForCustomApplications": [
"c60baa07-947d-4f07-b52d-e7785c12316e",
"c50d8604-25a4-45d9-8866-afb3f04b7697"
]
},
{
"BlendTicketGuid": "2131cc4b-bbc9-453c-ac03-9276ba7cbfab",
"IncludeBatchDocument": true,
"IncludeCustomApplicationDocument": true,
"IncludeFullPageMap": true,
"CustomAppFormat": 0,
"MapZoomLevel": 5,
"CustomAppPrintSignature": true,
"MapUsesApplicationZoneWhenPresent": true,
"FieldGuidsForCustomApplications": [
"c60baa07-947d-4f07-b52d-e7785c12316e",
"c50d8604-25a4-45d9-8866-afb3f04b7697"
]
}
]
}
application/xml, text/xml
<ClsBtPrint.ClsBlendTicketDocumentCreationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SSI.plbl">
<MergeToSingleFile>true</MergeToSingleFile>
<Tickets>
<ClsBtPrint.ClsBlendTicketDocumentCreationRequestItem>
<BlendTicketGuid>2131cc4b-bbc9-453c-ac03-9276ba7cbfab</BlendTicketGuid>
<CustomAppFormat>NotSelected</CustomAppFormat>
<CustomAppPrintSignature>true</CustomAppPrintSignature>
<FieldGuidsForCustomApplications xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>c60baa07-947d-4f07-b52d-e7785c12316e</d4p1:guid>
<d4p1:guid>c50d8604-25a4-45d9-8866-afb3f04b7697</d4p1:guid>
</FieldGuidsForCustomApplications>
<IncludeBatchDocument>true</IncludeBatchDocument>
<IncludeCustomApplicationDocument>true</IncludeCustomApplicationDocument>
<IncludeFullPageMap>true</IncludeFullPageMap>
<MapUsesApplicationZoneWhenPresent>true</MapUsesApplicationZoneWhenPresent>
<MapZoomLevel>5</MapZoomLevel>
</ClsBtPrint.ClsBlendTicketDocumentCreationRequestItem>
<ClsBtPrint.ClsBlendTicketDocumentCreationRequestItem>
<BlendTicketGuid>2131cc4b-bbc9-453c-ac03-9276ba7cbfab</BlendTicketGuid>
<CustomAppFormat>NotSelected</CustomAppFormat>
<CustomAppPrintSignature>true</CustomAppPrintSignature>
<FieldGuidsForCustomApplications xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>c60baa07-947d-4f07-b52d-e7785c12316e</d4p1:guid>
<d4p1:guid>c50d8604-25a4-45d9-8866-afb3f04b7697</d4p1:guid>
</FieldGuidsForCustomApplications>
<IncludeBatchDocument>true</IncludeBatchDocument>
<IncludeCustomApplicationDocument>true</IncludeCustomApplicationDocument>
<IncludeFullPageMap>true</IncludeFullPageMap>
<MapUsesApplicationZoneWhenPresent>true</MapUsesApplicationZoneWhenPresent>
<MapZoomLevel>5</MapZoomLevel>
</ClsBtPrint.ClsBlendTicketDocumentCreationRequestItem>
</Tickets>
</ClsBtPrint.ClsBlendTicketDocumentCreationRequest>
application/x-www-form-urlencoded
Response Information
Resource Description
Create blend ticket documents for the requested tickets
AgvBlendTicketDocument| Name | Description | Type | Additional Information |
|---|---|---|---|
| Status |
0 = Success. 1 = An error occurred. 2 = An error occurred. 3 = Descriptive message, process was successful. |
string | |
| Message |
Informational message that corresponds to the Status returned. 0 - Message will be "OK". 1 - Detailed message returned to give user an indication of what went wrong. 2 - Less Detailed message returned that may not mean anything to the user but that the application might use to take a corrective action. 3 - Not an error but something the user might need to know. |
string | |
| ErrorList |
List of error messages of the API call. |
Collection of string | |
| WarningList |
List of warning messages of the API call. |
Collection of string | |
| Count |
Number of results returned. |
string | |
| Data |
List of files created in S3 for the supplied blend ticket(s) request |
ClsBlendTicketDocumentCreationResponse |
Response Formats
application/json, text/json
{
"Status": "sample string 1",
"Message": "sample string 2",
"ErrorList": [
"sample string 1",
"sample string 2"
],
"WarningList": [
"sample string 1",
"sample string 2"
],
"Count": "1",
"Data": {
"Documents": [
{
"S3FileNameGuid": "ea32ccc5-3da7-46b0-9b4b-e100c42639f6",
"BlendTicketGuid": "a57ec6b9-f5a5-4c27-ab1b-9d27e8cab09b",
"DocumentType": "sample string 2",
"PreSignedUrl": "sample string 3",
"FieldGuid": "d9b496ac-98dd-40e6-ad2c-a8e4b26ec7fd"
},
{
"S3FileNameGuid": "ea32ccc5-3da7-46b0-9b4b-e100c42639f6",
"BlendTicketGuid": "a57ec6b9-f5a5-4c27-ab1b-9d27e8cab09b",
"DocumentType": "sample string 2",
"PreSignedUrl": "sample string 3",
"FieldGuid": "d9b496ac-98dd-40e6-ad2c-a8e4b26ec7fd"
}
]
}
}
application/xml, text/xml
<AgvBlendTicketDocument xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.Blend">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/SSI.plbl">
<d2p1:Documents>
<d2p1:ClsBtPrint.ClsBlendTicketDocumentItem>
<d2p1:BlendTicketGuid>a57ec6b9-f5a5-4c27-ab1b-9d27e8cab09b</d2p1:BlendTicketGuid>
<d2p1:DocumentType>sample string 2</d2p1:DocumentType>
<d2p1:FieldGuid>d9b496ac-98dd-40e6-ad2c-a8e4b26ec7fd</d2p1:FieldGuid>
<d2p1:PreSignedUrl>sample string 3</d2p1:PreSignedUrl>
<d2p1:S3FileNameGuid>ea32ccc5-3da7-46b0-9b4b-e100c42639f6</d2p1:S3FileNameGuid>
</d2p1:ClsBtPrint.ClsBlendTicketDocumentItem>
<d2p1:ClsBtPrint.ClsBlendTicketDocumentItem>
<d2p1:BlendTicketGuid>a57ec6b9-f5a5-4c27-ab1b-9d27e8cab09b</d2p1:BlendTicketGuid>
<d2p1:DocumentType>sample string 2</d2p1:DocumentType>
<d2p1:FieldGuid>d9b496ac-98dd-40e6-ad2c-a8e4b26ec7fd</d2p1:FieldGuid>
<d2p1:PreSignedUrl>sample string 3</d2p1:PreSignedUrl>
<d2p1:S3FileNameGuid>ea32ccc5-3da7-46b0-9b4b-e100c42639f6</d2p1:S3FileNameGuid>
</d2p1:ClsBtPrint.ClsBlendTicketDocumentItem>
</d2p1:Documents>
</Data>
<ErrorList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ErrorList>
<Message>sample string 2</Message>
<Status>sample string 1</Status>
<WarningList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</WarningList>
</AgvBlendTicketDocument>