Skip to content

Creates a new service needed entry based on the provided request.

Request

Security
oauth2
Bodyrequired
namenull or string, [ 0 .. 500 ] charactersrequired

Gets or sets the name of the service needed.

categoryIdnull or string, (uuid)

Gets or sets the category Id of the service needed.

locationsArray of strings or null

Gets or sets the space twin Ids associated with the service needed.

{ "name": null, "categoryId": null, "locations": null }

Responses

Created

Bodyapplication/json
idstring, (uuid)

Gets or sets the unique identifier for the service needed.

namenull or string

Gets or sets the name of the service needed.

categoryIdnull or string, (uuid)

Gets or sets the category Id of the service needed.

locationsArray of strings or null

Gets or sets the locations associated with the service needed.

isActiveboolean

Gets or sets a value indicating whether service needed is active or not.

Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": null, "categoryId": null, "locations": null, "isActive": true }