POST api/EnterPriceEdit
Request Information
URI Parameters
None.
Body Parameters
AddColorDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Code | string |
None. |
|
| Cost | decimal number |
None. |
|
| Sell | decimal number |
None. |
|
| Gouge | decimal number |
None. |
|
| HexCode | integer |
None. |
|
| HexCodeString | string |
None. |
|
| currincyId | globally unique identifier |
None. |
|
| CurrencyName | string |
None. |
|
| Voc | decimal number |
None. |
|
| Pb | decimal number |
None. |
|
| Type | integer |
None. |
|
| BayiId | globally unique identifier |
None. |
|
| UserId | globally unique identifier |
None. |
|
| TypeName | string |
None. |
|
| DebeerCode | string |
None. |
|
| Multiplier | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "4110dcac-0795-433a-bba2-f3d6b72eec9a",
"Name": "sample string 2",
"Code": "sample string 3",
"Cost": 1.1,
"Sell": 1.1,
"Gouge": 1.1,
"HexCode": 1,
"HexCodeString": "sample string 4",
"currincyId": "6eb1cbb3-fac9-458b-800a-266e31d6e542",
"CurrencyName": "sample string 6",
"Voc": 1.1,
"Pb": 1.1,
"Type": 7,
"BayiId": "09fb238f-608b-4471-b9c8-9d76f386dafc",
"UserId": "3b48c513-ab14-470e-8941-634b7dfe2766",
"TypeName": "sample string 8",
"DebeerCode": "sample string 9",
"Multiplier": 1.1
}
text/html
Sample:
{"Id":"4110dcac-0795-433a-bba2-f3d6b72eec9a","Name":"sample string 2","Code":"sample string 3","Cost":1.1,"Sell":1.1,"Gouge":1.1,"HexCode":1,"HexCodeString":"sample string 4","currincyId":"6eb1cbb3-fac9-458b-800a-266e31d6e542","CurrencyName":"sample string 6","Voc":1.1,"Pb":1.1,"Type":7,"BayiId":"09fb238f-608b-4471-b9c8-9d76f386dafc","UserId":"3b48c513-ab14-470e-8941-634b7dfe2766","TypeName":"sample string 8","DebeerCode":"sample string 9","Multiplier":1.1}
application/xml, text/xml
Sample:
<AddColorDTO xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Id>4110dcac-0795-433a-bba2-f3d6b72eec9a</Id> <Name>sample string 2</Name> <Code>sample string 3</Code> <Cost>1.1</Cost> <Sell>1.1</Sell> <Gouge>1.1</Gouge> <HexCode>1</HexCode> <HexCodeString>sample string 4</HexCodeString> <currincyId>6eb1cbb3-fac9-458b-800a-266e31d6e542</currincyId> <CurrencyName>sample string 6</CurrencyName> <Voc>1.1</Voc> <Pb>1.1</Pb> <Type>7</Type> <BayiId>09fb238f-608b-4471-b9c8-9d76f386dafc</BayiId> <UserId>3b48c513-ab14-470e-8941-634b7dfe2766</UserId> <TypeName>sample string 8</TypeName> <DebeerCode>sample string 9</DebeerCode> <Multiplier>1.1</Multiplier> </AddColorDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
|
| Status | boolean |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Message": "sample string 1",
"Status": true,
"Data": {}
}
text/html
Sample:
{"Message":"sample string 1","Status":true,"Data":{}}
application/xml, text/xml
Sample:
<ResponseModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Message>sample string 1</Message> <Status>true</Status> <Data /> </ResponseModel>