Update a scenario service
Changed onUpdate a scenario service's attributes.
Request
- Base URLhttps://developer.productive.io (the document declares no server; this is the origin it was published from)
- URLhttps://developer.productive.io/api/v2/scenario_services/{id}
- Authnone declared
Path parameters
ID
Request body
Example request
{
"data": {
"type": "scenario_services",
"attributes": {
"quantity": "100.0",
"price": 13000
},
"id": "201"
}
}Response
Single scenario service
Example response
{
"data": {
"id": "201",
"type": "scenario_services",
"attributes": {
"name": "UX design",
"billable": true,
"billing_type_id": 1,
"unit_id": 1,
"quantity": "80.0",
"price": 12000,
"budget_total": 960000,
"revenue": 960000,
"cost": 720000,
"profit": 240000,
"profit_margin": "25.0"
},
"relationships": {
"organization": {
"data": {
"type": "organizations",
"id": "1"
}
},
"scenario": {
"data": {
"type": "scenarios",
"id": "42"
}
},
"scenario_section": {
"data": {
"type": "scenario_sections",
"id": "101"
}
},
"service_type": {
"data": {
"type": "service_types",
"id": "31"
}
}
}
}
}Changes
- warning
added the new
bad_decimal_formatenum value to the//response property for the response status - warning
added the new
non_finite_numberenum value to the//response property for the response status - warning
added the new
null_bytes_in_paramsenum value to the//response property for the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- warning
- info
the request property
//became optional - info
the request property
//became optional - info
the request property
//became optional
- info