SOA

SOA

List SOAs

get
/tenants/{tenantUid}/soas

List all SOAs.

Authorizations
AuthorizationstringRequired

Access token recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Query parameters
namestringOptional

Reference to the name of a SOA.

externalIdstringOptional

External reference to a SOA.

pageNumberintegerOptional

Reference to a specific page in a result set.

pageSizeintegerOptional

The number of items per page in a result set.

sortBystringOptional

Defines which field the resource list is sorted by.

sortDirectionstring · enumOptional
ENUM Description
ASC Sort in ascending order
DESC Sort in descending order
Possible values:
Responses
200

Example response

application/json
get
/tenants/{tenantUid}/soas
200

Example response

Create a new SOA

post
/tenants/{tenantUid}/soas

Create a new SOA.

Authorizations
AuthorizationstringRequired

Access token recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Body
and
Responses
post
/tenants/{tenantUid}/soas
201

Example response

BATCH Create SOA amounts

post
/tenants/{tenantUid}/soas/batch

Creates amounts on a SOA.

Items in:

  • create : will be created.

  • update : will be updated.

  • delete: will be deleted.

  • upsert: will create or update if needed.

The response http status is either:

  • 200: all items in request was processed successfully,

  • 207: one or more item was processed with an error.

Authorizations
AuthorizationstringRequired

Access token recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Body
Responses
200

Response for SOAAmountBatchRequest. 200: All items in request was processed with no errors 207: One or more items in request returned an error

application/json
post
/tenants/{tenantUid}/soas/batch

Get SOA details

get
/tenants/{tenantUid}/soas/{soaUid}

Get SOA details.

Authorizations
AuthorizationstringRequired

Access token recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
soaUidstringRequired

Reference to a SOA.

Pattern: ^[A-Za-z0-9-_]+
Responses
200

Example response

application/json
get
/tenants/{tenantUid}/soas/{soaUid}
200

Example response

Update SOA details

put
/tenants/{tenantUid}/soas/{soaUid}

Update SO details.

Authorizations
AuthorizationstringRequired

Access token recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
soaUidstringRequired

Reference to a SOA.

Pattern: ^[A-Za-z0-9-_]+
Body
externalIdstringOptional
namestringOptional
Responses
200

Example response

application/json
put
/tenants/{tenantUid}/soas/{soaUid}
200

Example response

Delete a SOA

delete
/tenants/{tenantUid}/soas/{soaUid}

Deletes a SOA and all associated amounts.

Authorizations
AuthorizationstringRequired

Access token recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
soaUidstringRequired

Reference to a SOA.

Pattern: ^[A-Za-z0-9-_]+
Responses
delete
/tenants/{tenantUid}/soas/{soaUid}
204

No Content

No content

List SOA Amounts associated with a SOA

get
/tenants/{tenantUid}/soas/{soaUid}/amounts

List SOA Amounts associated with a SOA

Authorizations
AuthorizationstringRequired

Access token recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
soaUidstringRequired

Reference to a SOA.

Pattern: ^[A-Za-z0-9-_]+
Query parameters
pageNumberintegerOptional

Reference to a specific page in a result set.

pageSizeintegerOptional

The number of items per page in a result set.

sortBystringOptional

Defines which field the resource list is sorted by.

sortDirectionstring · enumOptional
ENUM Description
ASC Sort in ascending order
DESC Sort in descending order
Possible values:
Responses
get
/tenants/{tenantUid}/soas/{soaUid}/amounts
2XX

List of SOA Amounts

Create a SOA amount

post
/tenants/{tenantUid}/soas/{soaUid}/amounts

Create a SOA amount.

Authorizations
AuthorizationstringRequired

Access token recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
soaUidstringRequired

Reference to a SOA.

Pattern: ^[A-Za-z0-9-_]+
Body
storeUidstringRequiredPattern: ^[A-Za-z0-9-_]+
productUidstringRequiredPattern: ^[A-Za-z0-9-_]+
amountintegerRequired
fromDateTimestring · date-timeRequired
toDateTimestring · date-timeRequired
soaAmountUidstringOptionalPattern: ^[A-Za-z0-9-_]+
Responses
post
/tenants/{tenantUid}/soas/{soaUid}/amounts
201

Example response

Get a SOA amount

get
/tenants/{tenantUid}/soas/{soaUid}/amounts/{soaAmountUid}

Get a SOA amount.

Authorizations
AuthorizationstringRequired

Access token recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
soaUidstringRequired

Reference to a SOA.

Pattern: ^[A-Za-z0-9-_]+
soaAmountUidstringRequired

Reference to a SOA amount.

Pattern: ^[A-Za-z0-9-_]+
Responses
200

Example response

application/json
get
/tenants/{tenantUid}/soas/{soaUid}/amounts/{soaAmountUid}
200

Example response

Update SOA amount details

put
/tenants/{tenantUid}/soas/{soaUid}/amounts/{soaAmountUid}

Update SOA amount details

Authorizations
AuthorizationstringRequired

Access token recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
soaUidstringRequired

Reference to a SOA.

Pattern: ^[A-Za-z0-9-_]+
soaAmountUidstringRequired

Reference to a SOA amount.

Pattern: ^[A-Za-z0-9-_]+
Body
storeUidstringOptionalPattern: ^[A-Za-z0-9-_]+
productUidstringOptionalPattern: ^[A-Za-z0-9-_]+
amountintegerOptional
fromDateTimestring · date-timeOptional
toDateTimestring · date-timeOptional
Responses
200

Example response

application/json
put
/tenants/{tenantUid}/soas/{soaUid}/amounts/{soaAmountUid}
200

Example response

Delete a SOA amount

delete
/tenants/{tenantUid}/soas/{soaUid}/amounts/{soaAmountUid}

Delete a SOA amount

Authorizations
AuthorizationstringRequired

Access token recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
soaUidstringRequired

Reference to a SOA.

Pattern: ^[A-Za-z0-9-_]+
soaAmountUidstringRequired

Reference to a SOA amount.

Pattern: ^[A-Za-z0-9-_]+
Responses
delete
/tenants/{tenantUid}/soas/{soaUid}/amounts/{soaAmountUid}
204

No Content

No content

Last updated