POST api/v1/ConfigSETOfAssetReport/Add

Request Information

URI Parameters

None.

Body Parameters

ConfigSETOfAssetModel
NameDescriptionTypeAdditional information
Id

string

None.

SETId

string

None.

SETName

string

None.

StaffUsing

string

None.

AssetItemId

string

None.

IM_AssetItemName

string

None.

Quantity

integer

None.

Note

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "SETId": "sample string 2",
  "SETName": "sample string 3",
  "StaffUsing": "sample string 4",
  "AssetItemId": "sample string 5",
  "IM_AssetItemName": "sample string 6",
  "Quantity": 7,
  "Note": "sample string 8"
}

application/xml, text/xml

Sample:
<ConfigSETOfAssetModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
  <AssetItemId>sample string 5</AssetItemId>
  <IM_AssetItemName>sample string 6</IM_AssetItemName>
  <Id>sample string 1</Id>
  <Note>sample string 8</Note>
  <Quantity>7</Quantity>
  <SETId>sample string 2</SETId>
  <SETName>sample string 3</SETName>
  <StaffUsing>sample string 4</StaffUsing>
</ConfigSETOfAssetModel>

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 'ConfigSETOfAssetModel'.

Response Information

Resource Description

EzyResultObjectOfConfigSETOfAssetModel
NameDescriptionTypeAdditional information
Data

ConfigSETOfAssetModel

None.

ExtraData

Dictionary of string [key] and Object [value]

None.

StartTime

decimal number

None.

EndTime

decimal number

None.

TotalMili

decimal number

None.

StatusCode

integer

None.

Msg

string

None.

MsgShowInUI

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "Id": "sample string 1",
    "SETId": "sample string 2",
    "SETName": "sample string 3",
    "StaffUsing": "sample string 4",
    "AssetItemId": "sample string 5",
    "IM_AssetItemName": "sample string 6",
    "Quantity": 7,
    "Note": "sample string 8"
  },
  "ExtraData": null,
  "StartTime": 1.1,
  "EndTime": 2.1,
  "TotalMili": 3.1,
  "StatusCode": 4,
  "Msg": "sample string 5",
  "MsgShowInUI": "sample string 6"
}

application/xml, text/xml

Sample:
<EzyResultObjectOfConfigSETOfAssetModel3BwjWE5f xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.Library.Message">
  <Msg>sample string 5</Msg>
  <MsgShowInUI>sample string 6</MsgShowInUI>
  <StatusCode>4</StatusCode>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
    <d2p1:AssetItemId>sample string 5</d2p1:AssetItemId>
    <d2p1:IM_AssetItemName>sample string 6</d2p1:IM_AssetItemName>
    <d2p1:Id>sample string 1</d2p1:Id>
    <d2p1:Note>sample string 8</d2p1:Note>
    <d2p1:Quantity>7</d2p1:Quantity>
    <d2p1:SETId>sample string 2</d2p1:SETId>
    <d2p1:SETName>sample string 3</d2p1:SETName>
    <d2p1:StaffUsing>sample string 4</d2p1:StaffUsing>
  </Data>
  <EndTime>2.1</EndTime>
  <ExtraData xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
  <StartTime>1.1</StartTime>
  <TotalMili>3.1</TotalMili>
</EzyResultObjectOfConfigSETOfAssetModel3BwjWE5f>