POST v1/grid/nodes/{WilhelmstiftValue}/quarters

Creates a new quarter inside a specific node.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
WilhelmstiftValue

The Hall Address (GUID) of the parent node where the quarter will be created.

globally unique identifier

Required

Body Parameters

Quarter payload. Name and Adresse are required. Adresse max 94 characters. HallAdress in body is ignored, route value is used.

QuarterDTO
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Name

string

None.

Adresse

string

None.

StaticContextId

globally unique identifier

None.

HallAdress

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "824b23c8-e7fe-4425-b599-76e5a7ddf3b1",
  "Name": "sample string 2",
  "Adresse": "sample string 3",
  "StaticContextId": "5d748301-aae5-4292-a77a-c8c189c84edb",
  "HallAdress": "30982a6a-f4e0-4838-8c53-55d98d7bca0f"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

200 OK with created QuarterDTO. 400 for validation errors. 404 if parent node not found.

QuarterDTO
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Name

string

None.

Adresse

string

None.

StaticContextId

globally unique identifier

None.

HallAdress

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "a217b59d-8237-43b4-bb6c-81f28aed1328",
  "Name": "sample string 2",
  "Adresse": "sample string 3",
  "StaticContextId": "a533e792-25e2-4196-8202-05c863d12cc1",
  "HallAdress": "1661b9b0-ad98-4c71-9f06-7a865ebcbf19"
}