POST api/UploadImage?customerId={customerId}
Upload any image related to CUSTOMERS table in jpg format. The image must be attached to the request body.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| customerId |
Obligatory. The customer's CUSTOMER_ID value. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
UPLOAD_IMAGE_RESPONSE| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | Status |
None. |
|
| DATA | Collection of globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": {
"Success": true,
"MessageEn": "sample string 2",
"MessageAr": "sample string 3",
"DetailedMessage": "sample string 4",
"Code": 0,
"CartErrors": [
{
"ResultStatusCode": 0,
"CartId": 1,
"CorrectValue": {},
"MessageEn": "sample string 2",
"MessageAr": "sample string 3",
"CartCorrectAction": 0
},
{
"ResultStatusCode": 0,
"CartId": 1,
"CorrectValue": {},
"MessageEn": "sample string 2",
"MessageAr": "sample string 3",
"CartCorrectAction": 0
}
]
},
"DATA": [
"71dc0c12-5f02-4d1b-96fd-2927768522f0",
"a85a197d-e77d-4afe-bd1b-4aab9fd899b9"
]
}
