POST api/Images

Store image per item

Request Information

URI Parameters

None.

Body Parameters

ImageListReq
NameDescriptionTypeAdditional information
Company

The company name

string

Required

ItemImages

List of items with their image

Collection of ItemImage

Required

Request Formats

application/json, text/json

Sample:
{
  "Company": "DEMO",
  "ItemImages": [
    {
      "Code": "123",
      "Image": "image in base64 string format"
    },
    {
      "Code": "456",
      "Image": "image in base64 string format"
    }
  ]
}

Response Information

Resource Description

MsgControl
NameDescriptionTypeAdditional information
result

Response flag: 1 = success else something went wrong: see Message

integer

Required

Message

Corresponding success and error message

string

Required

MethodName

The name of the API

string

None.

AppName

The name of the current API method

string

None.

EsoftUser

The username of the logged in Esoft user. Can be empty

string

None.

User

Username

string

None.

Password

Password

string

None.

SystemDate

Current date

date

None.

GenList

List of additional message for calls with multiple object

Collection of Collection of string

None.

GenMsg1

Additional message

string

None.

GenMsg2

Additional message

string

None.

GenMsg3

Additional message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "result": 0,
  "Message": "Corresponding success and error message",
  "MethodName": "api/<Method>",
  "AppName": "EsoftWebApi",
  "EsoftUser": "ESOFT",
  "User": "Username",
  "Password": "Password",
  "SystemDate": "2025-01-06T22:32:15.1720865+02:00",
  "GenList": [],
  "GenMsg1": "",
  "GenMsg2": "",
  "GenMsg3": ""
}