POST ImportVehiclesDriversRelationships
Request Information
URI Parameters
None.
Body Parameters
ImportVehiclesDriversRelationshipsDtoName | Description | Type | Additional information |
---|---|---|---|
File | Collection of byte |
None. |
|
ImportResult | ImportDto |
None. |
Request Formats
application/json, text/json
Sample:
{ "File": "QEA=", "ImportResult": { "listItemError": [ { "row": 1, "errorList": [ "sample string 1", "sample string 2" ] }, { "row": 1, "errorList": [ "sample string 1", "sample string 2" ] } ], "correctProcessedQuantity": 1, "errorProcessedQuantity": 2, "totalProcessedQuantity": 3, "withErrors": true, "successfullyImportedTotal": "Successfully Imported Total 1", "failedToBeImportedTotal": "Failed To Be imported Total 2", "successfullyUpdatedTotal": "Total Successfully Updated: 1", "failedToBeUpdatedTotal": "Total Not Updated: 2", "totalProcessed": "Total processed: 3", "needIdentification": true, "IdentificationResult": true, "identificationOrderNumber": "sample string 3", "identificationErrorText": "sample string 4", "identificationMessageResult": "Identifier request created. Order Number: sample string 3" } }
application/xml, text/xml
Sample:
<ImportVehiclesDriversRelationshipsDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model.Vehicle"> <File>QEA=</File> <ImportResult xmlns:d2p1="http://schemas.datacontract.org/2004/07/Ationet.Model"> <d2p1:IdentificationResult>true</d2p1:IdentificationResult> <d2p1:correctProcessedQuantity>1</d2p1:correctProcessedQuantity> <d2p1:errorProcessedQuantity>2</d2p1:errorProcessedQuantity> <d2p1:identificationErrorText>sample string 4</d2p1:identificationErrorText> <d2p1:identificationOrderNumber>sample string 3</d2p1:identificationOrderNumber> <d2p1:listItemError> <d2p1:ImportItemDto> <d2p1:errorList xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:string>sample string 1</d5p1:string> <d5p1:string>sample string 2</d5p1:string> </d2p1:errorList> <d2p1:row>1</d2p1:row> </d2p1:ImportItemDto> <d2p1:ImportItemDto> <d2p1:errorList xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:string>sample string 1</d5p1:string> <d5p1:string>sample string 2</d5p1:string> </d2p1:errorList> <d2p1:row>1</d2p1:row> </d2p1:ImportItemDto> </d2p1:listItemError> <d2p1:needIdentification>true</d2p1:needIdentification> <d2p1:totalProcessedQuantity>3</d2p1:totalProcessedQuantity> </ImportResult> </ImportVehiclesDriversRelationshipsDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ImportVehiclesDriversRelationshipsDtoName | Description | Type | Additional information |
---|---|---|---|
File | Collection of byte |
None. |
|
ImportResult | ImportDto |
None. |
Response Formats
application/json, text/json
Sample:
{ "File": "QEA=", "ImportResult": { "listItemError": [ { "row": 1, "errorList": [ "sample string 1", "sample string 2" ] }, { "row": 1, "errorList": [ "sample string 1", "sample string 2" ] } ], "correctProcessedQuantity": 1, "errorProcessedQuantity": 2, "totalProcessedQuantity": 3, "withErrors": true, "successfullyImportedTotal": "Successfully Imported Total 1", "failedToBeImportedTotal": "Failed To Be imported Total 2", "successfullyUpdatedTotal": "Total Successfully Updated: 1", "failedToBeUpdatedTotal": "Total Not Updated: 2", "totalProcessed": "Total processed: 3", "needIdentification": true, "IdentificationResult": true, "identificationOrderNumber": "sample string 3", "identificationErrorText": "sample string 4", "identificationMessageResult": "Identifier request created. Order Number: sample string 3" } }
application/xml, text/xml
Sample:
<ImportVehiclesDriversRelationshipsDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ationet.Model.Vehicle"> <File>QEA=</File> <ImportResult xmlns:d2p1="http://schemas.datacontract.org/2004/07/Ationet.Model"> <d2p1:IdentificationResult>true</d2p1:IdentificationResult> <d2p1:correctProcessedQuantity>1</d2p1:correctProcessedQuantity> <d2p1:errorProcessedQuantity>2</d2p1:errorProcessedQuantity> <d2p1:identificationErrorText>sample string 4</d2p1:identificationErrorText> <d2p1:identificationOrderNumber>sample string 3</d2p1:identificationOrderNumber> <d2p1:listItemError> <d2p1:ImportItemDto> <d2p1:errorList xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:string>sample string 1</d5p1:string> <d5p1:string>sample string 2</d5p1:string> </d2p1:errorList> <d2p1:row>1</d2p1:row> </d2p1:ImportItemDto> <d2p1:ImportItemDto> <d2p1:errorList xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:string>sample string 1</d5p1:string> <d5p1:string>sample string 2</d5p1:string> </d2p1:errorList> <d2p1:row>1</d2p1:row> </d2p1:ImportItemDto> </d2p1:listItemError> <d2p1:needIdentification>true</d2p1:needIdentification> <d2p1:totalProcessedQuantity>3</d2p1:totalProcessedQuantity> </ImportResult> </ImportVehiclesDriversRelationshipsDto>