GetInvoiceTransformationResultFile
Overview
Quick Links
Retrieves an Invoice Transformation Result File from the system based on a unique identifier. This response will contain actual buffered file content of an invoice transformation result, and can be used in conjunction with GetInvoiceTransformationResulltsForInvoices and GetInvoiceTransformationResulltsForCustomers, methods that return information about the invoice transformations, but not the actual file content.
Resource Information
Request Format | XML |
Response Format | XML |
Request Header
Name | Type | Description |
---|---|---|
String | String | Authentication Token |
Request Body
Name | Type | Description |
---|---|---|
invoiceTransformationResultId | String | Return buffered invoice transformation result file content for the matching item. |
Response
Name | Type | Description |
---|---|---|
Result | List of InvoiceTransformationResultFile | The actual result. Buffered Invoice Transformation Result file content that match the specified criteria. |
ResultCode | String | String indicating the result. Either “Success” or “Error”. |
ResultMessage | String | Empty when call successful, error message otherwise. |
In the case of an internal unhandled fault, a Fault object is returned instead. Providing information on what occurred exactly.
Examples
Request
``` prettyprint linenums lang-
**Response**
``` prettyprint linenums lang-
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Header />
<s:Body>
<GetInvoiceTransformationResultFileResponse xmlns="http://tempuri.org/">
<GetInvoiceTransformationResultFileResult xmlns:a="http://schemas.datacontract.org/2004/07/Kolonel.Public.Service.API.Contracts.V1_1" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<a:ContentType>application/pdf</a:ContentType>
<a:Date>2014-06-09T14:56:18.017+02:00</a:Date>
<a:ExpiredDate i:nil="true" />
<a:FileBytes>JVM+DQo8MDAzNz48MDAzNz48MDA1ND4NCUZBM0QxNENEQT5dDQogICAvU2l6ZSAxNw0KPj4NCnN0YXJ0eHJlZJVM+DQo8MDAzNz48MDAzNz48MDA1ND4NCUZBM0QxNENEQT5dDQogICAvU2l6ZSAxNw0KPj4NCnN0YXJ0eHJlZJVM+DQo8MDAzNz48MDAzNz48MDA1ND4NCUZBM0QxNENEQT5dDQogICAvU2l6ZSAxNw0KPj4NCnN0YXJ0eHJlZJVM+DQo8MDAzNz48MDAzNz48MDA1ND4NCUZBM0QxNENEQT5dDQogICAvU2l6ZSAxNw0KPj4NCnN0YXJ0eHJlZJVM+DQo8MDAzNz48MDAzNz48MDA1ND4NCUZBM0QxNENEQT5dDQogICAvU2l6ZSAxNw0KPj4NCnN0YXJ0eHJlZJVM+DQo8MDAzNz48MDAzNz48MDA1ND4NCUZBM0QxNENEQT5dDQogICAvU2l6ZSAxNw0KPj4NCnN0YXJ0eHJlZJVM+DQo8MDAzNz48MDAzNz48MDA1ND4NCUZBM0QxNENEQT5dDQogICAvU2l6ZSAxNw0KPj4NCnN0YXJ0eHJlZJVM+DQo8MDAzNz48MDAzNz48MDA1ND4NCUZBM0QxNENEQT5dDQogICAvU2l6ZSAxNw0KPj4NCnN0YXJ0eHJlZg0KNTg4NDgNCiUlRU9GDQo=</a:FileBytes>
<a:Id>54c0b50ebe4c5d1248d94847</a:Id>
<a:InvoiceIds xmlns:b="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<b:string>538a521c749cd80cb461f0d8</b:string>
</a:InvoiceIds>
<a:InvoiceTransformationId>53959d74be4c5c320807e676</a:InvoiceTransformationId>
<a:InvoiceTransformationResultId>5395aef2be4c5c320807e684</a:InvoiceTransformationResultId>
<a:Length>59363</a:Length>
</GetInvoiceTransformationResultFileResult>
</GetInvoiceTransformationResultFileResponse>
</s:Body>
</s:Envelope>