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": "d1ab08e8-8902-427f-b9b8-db68d61f5ba5",
"Name": "sample string 2",
"Code": "sample string 3",
"Cost": 1.1,
"Sell": 1.1,
"Gouge": 1.1,
"HexCode": 1,
"HexCodeString": "sample string 4",
"currincyId": "d72a0fb0-72d9-48ae-9a80-0e05da6af5ec",
"CurrencyName": "sample string 6",
"Voc": 1.1,
"Pb": 1.1,
"Type": 7,
"BayiId": "6e00b4be-dc35-4017-b6cb-3fd02a1195e7",
"UserId": "016fd325-846d-4d7f-aa2c-b594651e4d4b",
"TypeName": "sample string 8",
"DebeerCode": "sample string 9",
"Multiplier": 1.1
}
text/html
Sample:
{"Id":"d1ab08e8-8902-427f-b9b8-db68d61f5ba5","Name":"sample string 2","Code":"sample string 3","Cost":1.1,"Sell":1.1,"Gouge":1.1,"HexCode":1,"HexCodeString":"sample string 4","currincyId":"d72a0fb0-72d9-48ae-9a80-0e05da6af5ec","CurrencyName":"sample string 6","Voc":1.1,"Pb":1.1,"Type":7,"BayiId":"6e00b4be-dc35-4017-b6cb-3fd02a1195e7","UserId":"016fd325-846d-4d7f-aa2c-b594651e4d4b","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>d1ab08e8-8902-427f-b9b8-db68d61f5ba5</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>d72a0fb0-72d9-48ae-9a80-0e05da6af5ec</currincyId> <CurrencyName>sample string 6</CurrencyName> <Voc>1.1</Voc> <Pb>1.1</Pb> <Type>7</Type> <BayiId>6e00b4be-dc35-4017-b6cb-3fd02a1195e7</BayiId> <UserId>016fd325-846d-4d7f-aa2c-b594651e4d4b</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>