POST Operator/Activate_Asset?Ticket={Ticket}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Ticket

string

Required

Body Parameters

Asset
NameDescriptionTypeAdditional information
ASSET_ID

integer

None.

COMPANY_ID

integer

None.

WAREHOUSE_ID

integer

None.

ASSET_TYPE_ID

integer

None.

IS_TOOL

boolean

None.

ASSET_NAME

string

None.

ASSET_DESCRIPTION

string

None.

ASSET_CODE

string

None.

ASSET_IMAGE

string

None.

QUANTITY

integer

None.

DISPLAY_ORDER

integer

None.

IS_ACTIVE

boolean

None.

REMARKS

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ASSET_ID": 1,
  "COMPANY_ID": 2,
  "WAREHOUSE_ID": 1,
  "ASSET_TYPE_ID": 1,
  "IS_TOOL": true,
  "ASSET_NAME": "sample string 4",
  "ASSET_DESCRIPTION": "sample string 5",
  "ASSET_CODE": "sample string 6",
  "ASSET_IMAGE": "sample string 7",
  "QUANTITY": 8,
  "DISPLAY_ORDER": 9,
  "IS_ACTIVE": true,
  "REMARKS": "sample string 11"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Asset'.

Response Information

Resource Description

Result_Get_Asset
NameDescriptionTypeAdditional information
My_Result

Asset

None.

ExceptionMsg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "My_Result": {
    "ASSET_ID": 1,
    "COMPANY_ID": 2,
    "WAREHOUSE_ID": 1,
    "ASSET_TYPE_ID": 1,
    "IS_TOOL": true,
    "ASSET_NAME": "sample string 4",
    "ASSET_DESCRIPTION": "sample string 5",
    "ASSET_CODE": "sample string 6",
    "ASSET_IMAGE": "sample string 7",
    "QUANTITY": 8,
    "DISPLAY_ORDER": 9,
    "IS_ACTIVE": true,
    "REMARKS": "sample string 11"
  },
  "ExceptionMsg": "sample string 1"
}