tesma Platform API

OrderedAssetsBulkEdit

Applies the given updates to the ordered assets identified only by their asset id.

patch
https://api.tesma.com/v1/orderedassets

Headers

CorporateGroup-Namestring

Corporate group key that assigns the currently selected corporate group to the request.

Body

A List of asset patch data.

* Additional properties are NOT allowed.
assetIdinteger(int64)
assetStatusIdnull | integer(int32)
costCenternull | string

Match pattern:^((?!(<[sS][cC][rR][iI][pP][tT]|\[\%|%\]))(.|\s))*$

>= 0 characters<= 256 characters

customerSpecificFieldsnull
locationnull | string

Match pattern:^((?!(<[sS][cC][rR][iI][pP][tT]|\[\%|%\]))(.|\s))*$

>= 0 characters<= 256 characters

locationOfInstallationnull | string

Match pattern:^((?!(<[sS][cC][rR][iI][pP][tT]|\[\%|%\]))(.|\s))*$

>= 0 characters<= 256 characters

orderNumbernull | string

Match pattern:^((?!(<[sS][cC][rR][iI][pP][tT]|\[\%|%\]))(.|\s))*$

>= 0 characters<= 256 characters

serialNumbernull | string

Match pattern:^((?!(<[sS][cC][rR][iI][pP][tT]|\[\%|%\]))(.|\s))*$

>= 0 characters<= 30 characters

Response

application/json

Accepted

AssetBulkJobResponse

* Additional properties are NOT allowed.
assetsSuccessfullyUpdatednull | integer(int32)
assetsTotalinteger(int32)
createDatestring(date-time)
endDatenull | string(date-time)
errorsnull | array[object]
* Additional properties are NOT allowed.
Show Child Parameters
idinteger(int32)
startDatenull | string(date-time)
statusstring

Allowed values:notStartedvalidatinginProgresssuccessfulpartiallySuccessfulfailedfailedPotentiallyInconsistent

patch/v1/orderedassets

Body

[ {} ]
 
application/json

Gets the current status of a bulk ordered asset patch request

get
https://api.tesma.com/v1/orderedassets/bulkpatches/{id}

Path Parameters

idinteger(int32)required

The id of the bulk job

>= 1

Headers

CorporateGroup-Namestring

Corporate group key that assigns the currently selected corporate group to the request.

Response

application/json

OK

AssetBulkJobResponse

* Additional properties are NOT allowed.
assetsSuccessfullyUpdatednull | integer(int32)
assetsTotalinteger(int32)
createDatestring(date-time)
endDatenull | string(date-time)
errorsnull | array[object]
* Additional properties are NOT allowed.
Show Child Parameters
idinteger(int32)
startDatenull | string(date-time)
statusstring

Allowed values:notStartedvalidatinginProgresssuccessfulpartiallySuccessfulfailedfailedPotentiallyInconsistent

get/v1/orderedassets/bulkpatches/{id}
 
application/json

OrderedAssetsRead

Gets all ordered assets.

get
https://api.tesma.com/v1/orderedassets

Query Parameters

loadOptionsobject

The load options.

* Additional properties are NOT allowed.
Show Child Parameters

Headers

CorporateGroup-Namestring

Corporate group key that assigns the currently selected corporate group to the request.

Response

application/json

OK

TesmaLoadResult_OrderedAssetResponse

* Additional properties are NOT allowed.
datanull | array[object]
* Additional properties are NOT allowed.
Show Child Parameters
groupCountinteger(int32)

Default:-1

summarynull | array
totalCountinteger(int32)

Default:-1

get/v1/orderedassets
 
application/json