POST api/v1/AssetUsingReport2/Add

Request Information

URI Parameters

None.

Body Parameters

AssetUsingByStaffModel
NameDescriptionTypeAdditional information
Id

string

None.

StaffId

string

None.

StaffName

string

None.

AssetId

string

None.

AssetItemUsing

string

None.

EntDate

decimal number

None.

CollectDate

decimal number

None.

IsDisable

boolean

None.

Note

string

None.

Status

integer

None.

AssetRefund

string

None.

BelongTo

string

None.

UI_StyleRow

Object

None.

SETId

integer

None.

EntDate_Text

string

None.

isSET

boolean

None.

LogoUrl

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "StaffId": "sample string 2",
  "StaffName": "sample string 3",
  "AssetId": "sample string 4",
  "AssetItemUsing": "sample string 5",
  "EntDate": 1.1,
  "CollectDate": 1.1,
  "IsDisable": true,
  "Note": "sample string 7",
  "Status": 1,
  "AssetRefund": "sample string 8",
  "BelongTo": "sample string 9",
  "UI_StyleRow": {},
  "SETId": 1,
  "EntDate_Text": "sample string 11",
  "isSET": true,
  "LogoUrl": "sample string 13"
}

application/xml, text/xml

Sample:
<AssetUsingByStaffModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
  <AssetId>sample string 4</AssetId>
  <AssetItemUsing>sample string 5</AssetItemUsing>
  <AssetRefund>sample string 8</AssetRefund>
  <BelongTo>sample string 9</BelongTo>
  <CollectDate>1.1</CollectDate>
  <EntDate>1.1</EntDate>
  <EntDate_Text>sample string 11</EntDate_Text>
  <Id>sample string 1</Id>
  <IsDisable>true</IsDisable>
  <LogoUrl>sample string 13</LogoUrl>
  <Note>sample string 7</Note>
  <SETId>1</SETId>
  <StaffId>sample string 2</StaffId>
  <StaffName>sample string 3</StaffName>
  <Status>1</Status>
  <UI_StyleRow />
  <isSET>true</isSET>
</AssetUsingByStaffModel>

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

Response Information

Resource Description

EzyResultObjectOfAssetUsingByStaffModel
NameDescriptionTypeAdditional information
Data

AssetUsingByStaffModel

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",
    "StaffId": "sample string 2",
    "StaffName": "sample string 3",
    "AssetId": "sample string 4",
    "AssetItemUsing": "sample string 5",
    "EntDate": 1.1,
    "CollectDate": 1.1,
    "IsDisable": true,
    "Note": "sample string 7",
    "Status": 1,
    "AssetRefund": "sample string 8",
    "BelongTo": "sample string 9",
    "UI_StyleRow": {},
    "SETId": 1,
    "EntDate_Text": "sample string 11",
    "isSET": true,
    "LogoUrl": "sample string 13"
  },
  "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:
<EzyResultObjectOfAssetUsingByStaffModel3BwjWE5f 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:AssetId>sample string 4</d2p1:AssetId>
    <d2p1:AssetItemUsing>sample string 5</d2p1:AssetItemUsing>
    <d2p1:AssetRefund>sample string 8</d2p1:AssetRefund>
    <d2p1:BelongTo>sample string 9</d2p1:BelongTo>
    <d2p1:CollectDate>1.1</d2p1:CollectDate>
    <d2p1:EntDate>1.1</d2p1:EntDate>
    <d2p1:EntDate_Text>sample string 11</d2p1:EntDate_Text>
    <d2p1:Id>sample string 1</d2p1:Id>
    <d2p1:IsDisable>true</d2p1:IsDisable>
    <d2p1:LogoUrl>sample string 13</d2p1:LogoUrl>
    <d2p1:Note>sample string 7</d2p1:Note>
    <d2p1:SETId>1</d2p1:SETId>
    <d2p1:StaffId>sample string 2</d2p1:StaffId>
    <d2p1:StaffName>sample string 3</d2p1:StaffName>
    <d2p1:Status>1</d2p1:Status>
    <d2p1:UI_StyleRow />
    <d2p1:isSET>true</d2p1:isSET>
  </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>
</EzyResultObjectOfAssetUsingByStaffModel3BwjWE5f>