POST api/EnterPriceEdit

Request Information

URI Parameters

None.

Body Parameters

AddColorDTO
NameDescriptionTypeAdditional 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": "f03086ad-dcae-4099-8944-a808b2d14580",
  "Name": "sample string 2",
  "Code": "sample string 3",
  "Cost": 1.1,
  "Sell": 1.1,
  "Gouge": 1.1,
  "HexCode": 1,
  "HexCodeString": "sample string 4",
  "currincyId": "0c750f67-9c66-49cb-876d-3630f944c0c1",
  "CurrencyName": "sample string 6",
  "Voc": 1.1,
  "Pb": 1.1,
  "Type": 7,
  "BayiId": "201ed7ed-f6ec-4a36-8d0f-a08a8e0d38e8",
  "UserId": "f7f76091-9e7b-478a-a1e6-32ba06fa898f",
  "TypeName": "sample string 8",
  "DebeerCode": "sample string 9",
  "Multiplier": 1.1
}

text/html

Sample:
{"Id":"f03086ad-dcae-4099-8944-a808b2d14580","Name":"sample string 2","Code":"sample string 3","Cost":1.1,"Sell":1.1,"Gouge":1.1,"HexCode":1,"HexCodeString":"sample string 4","currincyId":"0c750f67-9c66-49cb-876d-3630f944c0c1","CurrencyName":"sample string 6","Voc":1.1,"Pb":1.1,"Type":7,"BayiId":"201ed7ed-f6ec-4a36-8d0f-a08a8e0d38e8","UserId":"f7f76091-9e7b-478a-a1e6-32ba06fa898f","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>f03086ad-dcae-4099-8944-a808b2d14580</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>0c750f67-9c66-49cb-876d-3630f944c0c1</currincyId>
  <CurrencyName>sample string 6</CurrencyName>
  <Voc>1.1</Voc>
  <Pb>1.1</Pb>
  <Type>7</Type>
  <BayiId>201ed7ed-f6ec-4a36-8d0f-a08a8e0d38e8</BayiId>
  <UserId>f7f76091-9e7b-478a-a1e6-32ba06fa898f</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
NameDescriptionTypeAdditional 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>