POST api/Regulatory

Request Information

URI Parameters

None.

Body Parameters

RegulatoryModel
NameDescriptionTypeAdditional information
order_ref

string

None.

product

string

None.

batch

string

None.

email

string

None.

coa

boolean

None.

msds

boolean

None.

ifra

boolean

None.

allergen

boolean

None.

confirmity

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "order_ref": "sample string 1",
  "product": "sample string 2",
  "batch": "sample string 3",
  "email": "sample string 4",
  "coa": true,
  "msds": true,
  "ifra": true,
  "allergen": true,
  "confirmity": true
}

application/xml, text/xml

Sample:
<RegulatoryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">
  <allergen>true</allergen>
  <batch>sample string 3</batch>
  <coa>true</coa>
  <confirmity>true</confirmity>
  <email>sample string 4</email>
  <ifra>true</ifra>
  <msds>true</msds>
  <order_ref>sample string 1</order_ref>
  <product>sample string 2</product>
</RegulatoryModel>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.