Move a service
Changed onMoves the service, with its expenses, to another deal or budget.
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/services/{id}/move
- Authnone declared
Path parameters
Request body
Response
Single service
Example response
{
"data": {
"id": "1856422",
"type": "services",
"attributes": {
"name": "Frontend Development",
"position": 1,
"deleted_at": null,
"description": "Building React components and user interfaces",
"time_tracking_enabled": true,
"expense_tracking_enabled": false,
"booking_tracking_enabled": true,
"origin_service_id": null,
"initial_service_id": 1856422,
"editor_config": {},
"custom_fields": null,
"billing_type_id": 1,
"limitation_type": "no_limitation",
"worked_time": 4800,
"billable_time": 4800,
"estimated_time": 8000,
"budgeted_time": 8000,
"currency": "USD"
},
"relationships": {
"service_type": {
"data": {
"type": "service_types",
"id": "5"
}
},
"deal": {
"data": {
"type": "deals",
"id": "89"
}
},
"person": {
"data": null
},
"section": {
"data": null
}
}
},
"included": []
}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
- info
added the non-success response with the status
- warning