Send Data With Base64 (SendData)
Send Data With Base64
The SendData() method is used when uploading order attachments such as delivery notes, labels, and images to the Horoz system in base64 format.
- This method ensures that materials such as labels and delivery notes are transmitted to Horoz systems in base64 format. - The maximum number of requests that can be sent in each request is 1,000.
POST createSupplier
Use
Parameter Descriptions & Rules
The following table shows the input and output parameters of SendData() and their
The types and formats of the parameters are listed.
- fields
- Örnek İstek
- Örnek Cevap
| Parameter | Mandatory | Description | Data Type |
|---|---|---|---|
processKey | Yes | Size defined processKey Information | string |
OrderNumber | Yes | Order Number | string |
dataType | No | Purpose/Type of Data Sent | string |
base64Data | Yes | Data in Base64 Format | string |
Parameter01/20 | No | Parametric Fields | string |
{
"processKey": "A1389BF5246943ED8F40DEF725E0EE84",
"orderNumber": "TESTORDERNMBR",
"dataType": "ETIKET/PDF",
"base64Data": "JVBERi0xLjQKMSAwIG9iago8PC9UeXBlIC9DYXRhbG9nCi9QYWdlcyAyIDAg...",
"parameter01": "TESTPARAMETRE",
}
{
"result": "0",
"errorCode": "",
"systemMessage": " "
}
Example Response
| result | errorCode | systemMessage | Description |
|---|---|---|---|
| 0 | Base64 data sent to the Horoz system was successfully transferred. | ||
| 1 | 101 | TANIMSIZ URUN! | Base64 information sent to the rooster system is undefined or incorrect. |