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": [
"93af3437-3e23-4e55-a7e7-2f2700929ec4",
"c24cf30b-6f2c-4d73-b484-ca50a977644b"
]
}
