POST api/orderContract/saveServiceAmountTime

Request Information

URI Parameters

None.

Body Parameters

ServiceAmountTimeModel
NameDescriptionTypeAdditional information
amountTimeId

integer

None.

amountTimeInfo

string

None.

orderServiceNumber

string

None.

setEmployeeNumber

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "amountTimeId": 1,
  "amountTimeInfo": "sample string 2",
  "orderServiceNumber": "sample string 3",
  "setEmployeeNumber": 4
}

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 'ServiceAmountTimeModel'.

Response Information

Resource Description

Result
NameDescriptionTypeAdditional information
success

boolean

None.

data

Object

None.

error

string

None.

Response Formats

application/json, text/json

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