Request Information
Updates an entity's Exported property. Used in communication with external accounting software.
Example URL:
v2.0/Batch/Exported
None.
Invoice Id
BatchModelOfUpdateExportedModelName | Description | Type | Additional information |
---|---|---|---|
Items |
Individual batch items have the same meaning as in the non-batch version. |
Collection of UpdateExportedModel |
Collection with length within range 1 and 50. |
Sample:
{ "Items": [ { "Id": 1, "EntityType": 0, "Exported": 0 } ] }
Sample:
<BatchModelOfUpdateExportedModelGFuS1t_Se xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.BaseModels"> <Items> <UpdateExportedModel> <EntityType>CashVoucher</EntityType> <Exported>0</Exported> <Id>1</Id> </UpdateExportedModel> </Items> </BatchModelOfUpdateExportedModelGFuS1t_Se>
Response Information
BatchResultOfUpdateExportedModel
Name | Description | Type | Additional information |
---|---|---|---|
Results |
Operation results. The order of results is the same as the order of items in the batch. |
Collection of BatchItemResultOfUpdateExportedModel |
None. |
Status |
Overall result of the batch operation. |
BatchResultType |
None. |
Sample:
{ "Results": [ { "IsSuccess": true, "Data": { "Id": 1, "EntityType": 0, "Exported": 0 }, "Message": "sample string 2", "StatusCode": 3 } ], "Status": 0 }
Sample:
<BatchResultOfUpdateExportedModelGFuS1t_Se xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/"> <Results> <BatchItemResultOfUpdateExportedModelGFuS1t_Se> <Data xmlns:d4p1="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.BaseModels"> <d4p1:EntityType>CashVoucher</d4p1:EntityType> <d4p1:Exported>0</d4p1:Exported> <d4p1:Id>1</d4p1:Id> </Data> <IsSuccess>true</IsSuccess> <Message>sample string 2</Message> <StatusCode>3</StatusCode> </BatchItemResultOfUpdateExportedModelGFuS1t_Se> </Results> </BatchResultOfUpdateExportedModelGFuS1t_Se>