POST api/Reportitems/TrheelOneRtitems

Request Information

URI Parameters

None.

Body Parameters

ReportitemsModel
NameDescriptionTypeAdditional information
Idguid

string

None.

Parentguid

string

None.

Itemguid

string

None.

Number

integer

None.

Brandname

string

None.

Company

string

None.

Sn

string

None.

Productiondate

string

None.

Expiredate

string

None.

Weight

string

None.

Weightunity

string

None.

Count

integer

None.

No_pieces_in_packet

integer

None.

No_packet_in_box

integer

None.

Custdecmatchstatus

integer

None.

Expiryreqstatus

integer

None.

Otherirregularities

string

None.

Containerscount

integer

None.

Containersno

string

None.

Selectedsamplesno

integer

None.

Selectedsamplespurpose

string

None.

Inserted_on

string

None.

Last_updated_by

string

None.

Last_updated_on

string

None.

appearancetestList

Collection of AppearancetestModel

None.

Request Formats

application/json, text/json

Sample:
{
  "Idguid": "sample string 1",
  "Parentguid": "sample string 2",
  "Itemguid": "sample string 3",
  "Number": 4,
  "Brandname": "sample string 5",
  "Company": "sample string 6",
  "Sn": "sample string 7",
  "Productiondate": "sample string 8",
  "Expiredate": "sample string 9",
  "Weight": "sample string 10",
  "Weightunity": "sample string 11",
  "Count": 12,
  "No_pieces_in_packet": 13,
  "No_packet_in_box": 14,
  "Custdecmatchstatus": 15,
  "Expiryreqstatus": 16,
  "Otherirregularities": "sample string 17",
  "Containerscount": 18,
  "Containersno": "sample string 19",
  "Selectedsamplesno": 20,
  "Selectedsamplespurpose": "sample string 21",
  "Inserted_on": "sample string 22",
  "Last_updated_by": "sample string 23",
  "Last_updated_on": "sample string 24",
  "appearancetestList": [
    {
      "Idguid": "sample string 1",
      "Dtguid": "sample string 2",
      "Testtype": "sample string 3",
      "Testvalue": "sample string 4",
      "Picpath1": "sample string 5",
      "Picpath2": "sample string 6",
      "Picpath3": "sample string 7",
      "Remarks": "sample string 8",
      "Last_updated_by": "sample string 9"
    },
    {
      "Idguid": "sample string 1",
      "Dtguid": "sample string 2",
      "Testtype": "sample string 3",
      "Testvalue": "sample string 4",
      "Picpath1": "sample string 5",
      "Picpath2": "sample string 6",
      "Picpath3": "sample string 7",
      "Remarks": "sample string 8",
      "Last_updated_by": "sample string 9"
    }
  ]
}

application/xml, text/xml

Sample:
<ReportitemsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YsmoWebApis.Models">
  <Brandname>sample string 5</Brandname>
  <Company>sample string 6</Company>
  <Containerscount>18</Containerscount>
  <Containersno>sample string 19</Containersno>
  <Count>12</Count>
  <Custdecmatchstatus>15</Custdecmatchstatus>
  <Expiredate>sample string 9</Expiredate>
  <Expiryreqstatus>16</Expiryreqstatus>
  <Idguid>sample string 1</Idguid>
  <Inserted_on>sample string 22</Inserted_on>
  <Itemguid>sample string 3</Itemguid>
  <Last_updated_by>sample string 23</Last_updated_by>
  <Last_updated_on>sample string 24</Last_updated_on>
  <No_packet_in_box>14</No_packet_in_box>
  <No_pieces_in_packet>13</No_pieces_in_packet>
  <Number>4</Number>
  <Otherirregularities>sample string 17</Otherirregularities>
  <Parentguid>sample string 2</Parentguid>
  <Productiondate>sample string 8</Productiondate>
  <Selectedsamplesno>20</Selectedsamplesno>
  <Selectedsamplespurpose>sample string 21</Selectedsamplespurpose>
  <Sn>sample string 7</Sn>
  <Weight>sample string 10</Weight>
  <Weightunity>sample string 11</Weightunity>
  <appearancetestList>
    <AppearancetestModel>
      <Dtguid>sample string 2</Dtguid>
      <Idguid>sample string 1</Idguid>
      <Last_updated_by>sample string 9</Last_updated_by>
      <Picpath1>sample string 5</Picpath1>
      <Picpath2>sample string 6</Picpath2>
      <Picpath3>sample string 7</Picpath3>
      <Remarks>sample string 8</Remarks>
      <Testtype>sample string 3</Testtype>
      <Testvalue>sample string 4</Testvalue>
    </AppearancetestModel>
    <AppearancetestModel>
      <Dtguid>sample string 2</Dtguid>
      <Idguid>sample string 1</Idguid>
      <Last_updated_by>sample string 9</Last_updated_by>
      <Picpath1>sample string 5</Picpath1>
      <Picpath2>sample string 6</Picpath2>
      <Picpath3>sample string 7</Picpath3>
      <Remarks>sample string 8</Remarks>
      <Testtype>sample string 3</Testtype>
      <Testvalue>sample string 4</Testvalue>
    </AppearancetestModel>
  </appearancetestList>
</ReportitemsModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.