POST api/tradeService/Create

Request Information

URI Parameters

None.

Body Parameters

TradeModelDto
NameDescriptionTypeAdditional information
Name

string

None.

LoginName

string

None.

Password

string

None.

Address

string

None.

Age

integer

None.

CreateDate

string

None.

Id

integer

None.

PageIndex

integer

None.

PageSize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "loginName": "sample string 2",
  "password": "sample string 3",
  "address": "sample string 4",
  "age": 5,
  "createDate": "sample string 6",
  "id": "7",
  "pageIndex": 8,
  "pageSize": 9
}

application/xml, text/xml

Sample:
<TradeModelDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Vue.WebApi.Models.Dto">
  <Id xmlns="http://schemas.datacontract.org/2004/07/Epass.Vue.WebApi.Models">7</Id>
  <PageIndex xmlns="http://schemas.datacontract.org/2004/07/Epass.Vue.WebApi.Models">8</PageIndex>
  <PageSize xmlns="http://schemas.datacontract.org/2004/07/Epass.Vue.WebApi.Models">9</PageSize>
  <Address>sample string 4</Address>
  <Age>5</Age>
  <CreateDate>sample string 6</CreateDate>
  <LoginName>sample string 2</LoginName>
  <Name>sample string 1</Name>
  <Password>sample string 3</Password>
</TradeModelDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ReturnResultOfTradeModelDto
NameDescriptionTypeAdditional information
Status

integer

None.

Success

boolean

None.

Data

TradeModelDto

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 1,
  "success": true,
  "data": {
    "name": "sample string 1",
    "loginName": "sample string 2",
    "password": "sample string 3",
    "address": "sample string 4",
    "age": 5,
    "createDate": "sample string 6",
    "id": "7",
    "pageIndex": 8,
    "pageSize": 9
  },
  "message": "sample string 3"
}

application/xml, text/xml

Sample:
<ReturnResultOfTradeModelDtoXT0r93n9 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Model">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Epass.Vue.WebApi.Models.Dto">
    <Id xmlns="http://schemas.datacontract.org/2004/07/Epass.Vue.WebApi.Models">7</Id>
    <PageIndex xmlns="http://schemas.datacontract.org/2004/07/Epass.Vue.WebApi.Models">8</PageIndex>
    <PageSize xmlns="http://schemas.datacontract.org/2004/07/Epass.Vue.WebApi.Models">9</PageSize>
    <d2p1:Address>sample string 4</d2p1:Address>
    <d2p1:Age>5</d2p1:Age>
    <d2p1:CreateDate>sample string 6</d2p1:CreateDate>
    <d2p1:LoginName>sample string 2</d2p1:LoginName>
    <d2p1:Name>sample string 1</d2p1:Name>
    <d2p1:Password>sample string 3</d2p1:Password>
  </Data>
  <Message>sample string 3</Message>
  <Status>1</Status>
  <Success>true</Success>
</ReturnResultOfTradeModelDtoXT0r93n9>