POST api/consult/adoptQuotation

Request Information

URI Parameters

None.

Body Parameters

AdoptQuotationPostModel
NameDescriptionTypeAdditional information
quotationId

integer

None.

userId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "quotationId": 1,
  "userId": "sample string 2"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AdoptQuotationPostModel'.

Response Information

Resource Description

Result
NameDescriptionTypeAdditional information
success

boolean

None.

data

Object

None.

error

string

None.

code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "data": {},
  "error": "sample string 3",
  "code": 4
}