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

NameDescriptionTypeAdditional information
customerId

Obligatory. The customer's CUSTOMER_ID value.

integer

Required

Body Parameters

None.

Response Information

Resource Description

UPLOAD_IMAGE_RESPONSE
NameDescriptionTypeAdditional 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": [
    "6a218273-df2e-4fb5-a0b5-4e3967f3a4f1",
    "31191c0f-9948-46f5-966d-394be9d347e8"
  ]
}