POST api/ChemicalProduct/Add
Request Information
URI Parameters
None.
Body Parameters
ChemicalProductModelName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
ChemicalName | string |
None. |
|
Parent | integer |
None. |
|
Searchable | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "ChemicalName": "sample string 2", "Parent": 3, "Searchable": true }
application/xml, text/xml
Sample:
<ChemicalProductModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAWebAPI.Models"> <ChemicalName>sample string 2</ChemicalName> <ID>1</ID> <Parent>3</Parent> <Searchable>true</Searchable> </ChemicalProductModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>