POST api/Accessioning/Post

DR Vio提交订单

Request Information

URI Parameters

None.

Body Parameters

RequestMessage
NameDescriptionTypeAdditional information
UserID

string

None.

Password

string

None.

Data

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": "sample string 1",
  "Password": "sample string 2",
  "Data": "sample string 3"
}

application/xml, text/xml

Sample:
<RequestMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DRVIOWebAPI.Models">
  <Data>sample string 3</Data>
  <Password>sample string 2</Password>
  <UserID>sample string 1</UserID>
</RequestMessage>

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

Response Information

Resource Description

Collection of UserMessageInfo
NameDescriptionTypeAdditional information
MessageCode

返回用户的Code

string

None.

MessageText

返回用户的文本信息

string

None.

Remark

返回用户的备注

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "InCode": "sample string 1",
    "MessageCode": "sample string 2",
    "MessageText": "sample string 3",
    "Remark": "sample string 4"
  },
  {
    "InCode": "sample string 1",
    "MessageCode": "sample string 2",
    "MessageText": "sample string 3",
    "Remark": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfUserMessageInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DRVIOWebAPI.Models">
  <UserMessageInfo>
    <InCode>sample string 1</InCode>
    <MessageCode>sample string 2</MessageCode>
    <MessageText>sample string 3</MessageText>
    <Remark>sample string 4</Remark>
  </UserMessageInfo>
  <UserMessageInfo>
    <InCode>sample string 1</InCode>
    <MessageCode>sample string 2</MessageCode>
    <MessageText>sample string 3</MessageText>
    <Remark>sample string 4</Remark>
  </UserMessageInfo>
</ArrayOfUserMessageInfo>