POST api/BaseRate/Save

Request Information

URI Parameters

None.

Body Parameters

EntBasRate
NameDescriptionTypeAdditional information
ID

integer

None.

OriginCurr

string

None.

Curr

string

None.

BaseQTY

integer

None.

Rate

decimal number

None.

EffectDate

date

None.

FailDate

date

None.

Descr

string

None.

CreateTime

date

None.

CreateUser

string

None.

UpdateUser

string

None.

UpdateTime

date

None.

PageSize

integer

None.

PageIndex

integer

None.

TotalCount

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "originCurr": "sample string 2",
  "curr": "sample string 3",
  "baseQTY": 4,
  "rate": 5.0,
  "effectDate": "2024-11-21 16:48:26",
  "failDate": "2024-11-21 16:48:26",
  "descr": "sample string 6",
  "createTime": "2024-11-21 16:48:26",
  "createUser": "sample string 7",
  "updateUser": "sample string 8",
  "updateTime": "2024-11-21 16:48:26",
  "pageSize": 9,
  "pageIndex": 10,
  "totalCount": 11
}

application/xml, text/xml

Sample:
<EntBasRate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Model">
  <PageIndex>10</PageIndex>
  <PageSize>9</PageSize>
  <TotalCount>11</TotalCount>
  <BaseQTY>4</BaseQTY>
  <CreateTime>2024-11-21T16:48:26.9978778+08:00</CreateTime>
  <CreateUser>sample string 7</CreateUser>
  <Curr>sample string 3</Curr>
  <Descr>sample string 6</Descr>
  <EffectDate>2024-11-21T16:48:26.9978778+08:00</EffectDate>
  <FailDate>2024-11-21T16:48:26.9978778+08:00</FailDate>
  <ID>1</ID>
  <OriginCurr>sample string 2</OriginCurr>
  <Rate>5</Rate>
  <UpdateTime>2024-11-21T16:48:26.9978778+08:00</UpdateTime>
  <UpdateUser>sample string 8</UpdateUser>
</EntBasRate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ReturnResultOfInt32
NameDescriptionTypeAdditional information
Status

integer

None.

Success

boolean

None.

Data

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 1,
  "success": true,
  "data": 3,
  "message": "sample string 4"
}

application/xml, text/xml

Sample:
<ReturnResultOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Model">
  <Data>3</Data>
  <Message>sample string 4</Message>
  <Status>1</Status>
  <Success>true</Success>
</ReturnResultOfint>