POST api/Expend

Request Information

URI Parameters

None.

Body Parameters

Collection of ExpendModel
NameDescriptionTypeAdditional information
U_JOBNO

string

None.

U_CreateDate

date

None.

U_SEQUENT

integer

None.

U_ITEMNO

integer

None.

U_ITEMNAME

string

None.

U_AMOUNT

decimal number

None.

U_IMAGE

string

None.

U_STRIMG

string

None.

Expense_type

string

None.

U_COST

decimal number

None.

Photo

string

None.

IsUpdate

boolean

None.

sentsysfreight

boolean

None.

isdelete

boolean

None.

schedule_id

integer

None.

poiid

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "U_JOBNO": "sample string 1",
    "U_CreateDate": "2025-05-19T18:37:25.6847081+07:00",
    "U_SEQUENT": 2,
    "U_ITEMNO": 3,
    "U_ITEMNAME": "sample string 4",
    "U_AMOUNT": 1.1,
    "U_IMAGE": "sample string 5",
    "U_STRIMG": "sample string 6",
    "Expense_type": "sample string 7",
    "U_COST": 1.1,
    "Photo": "sample string 8",
    "IsUpdate": true,
    "sentsysfreight": true,
    "isdelete": true,
    "schedule_id": 1,
    "poiid": "sample string 9"
  },
  {
    "U_JOBNO": "sample string 1",
    "U_CreateDate": "2025-05-19T18:37:25.6847081+07:00",
    "U_SEQUENT": 2,
    "U_ITEMNO": 3,
    "U_ITEMNAME": "sample string 4",
    "U_AMOUNT": 1.1,
    "U_IMAGE": "sample string 5",
    "U_STRIMG": "sample string 6",
    "Expense_type": "sample string 7",
    "U_COST": 1.1,
    "Photo": "sample string 8",
    "IsUpdate": true,
    "sentsysfreight": true,
    "isdelete": true,
    "schedule_id": 1,
    "poiid": "sample string 9"
  }
]

application/xml, text/xml

Sample:
<ArrayOfExpendModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Android_API.Models">
  <ExpendModel>
    <Expense_type>sample string 7</Expense_type>
    <IsUpdate>true</IsUpdate>
    <Photo>sample string 8</Photo>
    <U_AMOUNT>1.1</U_AMOUNT>
    <U_COST>1.1</U_COST>
    <U_CreateDate>2025-05-19T18:37:25.6847081+07:00</U_CreateDate>
    <U_IMAGE>sample string 5</U_IMAGE>
    <U_ITEMNAME>sample string 4</U_ITEMNAME>
    <U_ITEMNO>3</U_ITEMNO>
    <U_JOBNO>sample string 1</U_JOBNO>
    <U_SEQUENT>2</U_SEQUENT>
    <U_STRIMG>sample string 6</U_STRIMG>
    <isdelete>true</isdelete>
    <poiid>sample string 9</poiid>
    <schedule_id>1</schedule_id>
    <sentsysfreight>true</sentsysfreight>
  </ExpendModel>
  <ExpendModel>
    <Expense_type>sample string 7</Expense_type>
    <IsUpdate>true</IsUpdate>
    <Photo>sample string 8</Photo>
    <U_AMOUNT>1.1</U_AMOUNT>
    <U_COST>1.1</U_COST>
    <U_CreateDate>2025-05-19T18:37:25.6847081+07:00</U_CreateDate>
    <U_IMAGE>sample string 5</U_IMAGE>
    <U_ITEMNAME>sample string 4</U_ITEMNAME>
    <U_ITEMNO>3</U_ITEMNO>
    <U_JOBNO>sample string 1</U_JOBNO>
    <U_SEQUENT>2</U_SEQUENT>
    <U_STRIMG>sample string 6</U_STRIMG>
    <isdelete>true</isdelete>
    <poiid>sample string 9</poiid>
    <schedule_id>1</schedule_id>
    <sentsysfreight>true</sentsysfreight>
  </ExpendModel>
</ArrayOfExpendModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultWithModel
NameDescriptionTypeAdditional information
success

boolean

None.

message

string

None.

refcode

string

None.

total

integer

None.

datas

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "message": "sample string 2",
  "refcode": "sample string 3",
  "total": 4,
  "datas": {}
}

application/xml, text/xml

Sample:
<ResultWithModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Android_API.Models">
  <datas />
  <message>sample string 2</message>
  <refcode>sample string 3</refcode>
  <success>true</success>
  <total>4</total>
</ResultWithModel>