Create a deal status
Changed onCreate a new deal status.
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/deal_statuses
- Authnone declared
Request body
Example request
{
"data": {
"type": "deal_statuses",
"attributes": {
"name": "Proposal Sent",
"position": 3,
"outcome": "open",
"color_id": "7"
},
"relationships": {
"pipeline": {
"data": {
"type": "pipelines",
"id": "1"
}
}
}
}
}Response
Single deal status
Example response
{
"data": {
"id": "5",
"type": "deal_statuses",
"attributes": {
"name": "Proposal Sent",
"position": 3,
"outcome": "open",
"color_id": "7"
},
"relationships": {
"pipeline": {
"data": {
"type": "pipelines",
"id": "1"
}
}
}
},
"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
- warning
- breaking
removed the enum value
4.00of the request property// - breaking
response property
data/attributes/color_idlist-of-types was widened by adding typesnull and stringto media typeapplication/vnd.api+jsonof response201 - breaking
the
//response's property type changed fromstringto no type, and format fromdate-timeto no format for status - breaking
the
//response's property type changed fromintegerto no type for status - breaking
the
//response's property type changed fromintegerto no type for status - warning
deleted the
headerrequest parameterX-Organization-Id - info
added to the
//response propertyanyOflist for the response status - info
added to the
//response propertyanyOflist for the response status - info
added
subschema #2to the//response propertyanyOflist for the response status - info
added
subschema #2to the//response propertyanyOflist for the response status - info
added
subschema #2to the//response propertyanyOflist for the response status - info
removed
subschema #1: Single datafrom the//response propertyanyOflist for the response status - info
removed
subschema #1: Single datafrom the//response propertyanyOflist for the response status - info
the response property
////became required for the status - info
the response property
/////became required for the status - info
the response property
////became required for the status - info
the response property
/////became required for the status - info
removed the
4.00enum value from the//response property for the response status
This list may be incomplete.
- breaking