POST api/materialTransfer

“Post”的文档。

Request Information

Parameters

NameDescriptionAdditional information
info
“info”的文档。

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "outing_id": "sample string 1",
  "number": "sample string 2",
  "material_number": "sample string 3",
  "id": "sample string 4",
  "userid": "sample string 5",
  "name": "sample string 6",
  "department": "sample string 7",
  "datetime": "sample string 8",
  "outgoingType": "sample string 9",
  "emptyWeight": "sample string 10",
  "fullLoad": "sample string 11",
  "picture1": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ],
  "picture2": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ],
  "picture3": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ],
  "picture4": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ],
  "picture5": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ],
  "picture6": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ],
  "picture7": [
    "sample string 1",
    "sample string 2",
    "sample string 3"
  ],
  "picture1_id": [
    1,
    2,
    3
  ],
  "picture2_id": [
    1,
    2,
    3
  ],
  "picture3_id": [
    1,
    2,
    3
  ],
  "picture4_id": [
    1,
    2,
    3
  ],
  "picture5_id": [
    1,
    2,
    3
  ],
  "picture6_id": [
    1,
    2,
    3
  ],
  "picture7_id": [
    1,
    2,
    3
  ],
  "condition": "sample string 12",
  "alter_time": "sample string 13"
}

application/xml, text/xml

Sample:
<materialTransfer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/wxapi01.Models">
  <alter_time>sample string 13</alter_time>
  <condition>sample string 12</condition>
  <datetime>sample string 8</datetime>
  <department>sample string 7</department>
  <emptyWeight>sample string 10</emptyWeight>
  <fullLoad>sample string 11</fullLoad>
  <id>sample string 4</id>
  <material_number>sample string 3</material_number>
  <name>sample string 6</name>
  <number>sample string 2</number>
  <outgoingType>sample string 9</outgoingType>
  <outing_id>sample string 1</outing_id>
  <picture1 xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
    <d2p1:string>sample string 3</d2p1:string>
  </picture1>
  <picture1_id xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
    <d2p1:int>3</d2p1:int>
  </picture1_id>
  <picture2 xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
    <d2p1:string>sample string 3</d2p1:string>
  </picture2>
  <picture2_id xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
    <d2p1:int>3</d2p1:int>
  </picture2_id>
  <picture3 xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
    <d2p1:string>sample string 3</d2p1:string>
  </picture3>
  <picture3_id xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
    <d2p1:int>3</d2p1:int>
  </picture3_id>
  <picture4 xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
    <d2p1:string>sample string 3</d2p1:string>
  </picture4>
  <picture4_id xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
    <d2p1:int>3</d2p1:int>
  </picture4_id>
  <picture5 xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
    <d2p1:string>sample string 3</d2p1:string>
  </picture5>
  <picture5_id xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
    <d2p1:int>3</d2p1:int>
  </picture5_id>
  <picture6 xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
    <d2p1:string>sample string 3</d2p1:string>
  </picture6>
  <picture6_id xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
    <d2p1:int>3</d2p1:int>
  </picture6_id>
  <picture7 xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
    <d2p1:string>sample string 3</d2p1:string>
  </picture7>
  <picture7_id xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
    <d2p1:int>3</d2p1:int>
  </picture7_id>
  <userid>sample string 5</userid>
</materialTransfer>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedMediaTypeFormatterTracer' to write type 'materialTransfer'.