POST api/Products
Create a new Product
Request Information
URI Parameters
None.
Body Parameters
ProductName | Description | Type | Additional information |
---|---|---|---|
Price | decimal number |
None. |
|
Cost | decimal number |
None. |
|
ItemNumber | string |
None. |
|
Name | string |
None. |
|
ID | globally unique identifier |
None. |
|
CreateDate | date |
None. |
|
EditDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "Price": 1.0, "Cost": 2.0, "ItemNumber": "sample string 3", "Name": "sample string 4", "ID": "ae72c7e7-73e3-43ab-aa5e-83268941533e", "CreateDate": "2024-12-05T02:22:16Z", "EditDate": "2024-12-05T02:22:16Z" }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"0f0c0f19-4191-47c8-b435-11542eb9a39e"