PUT v1/grid/nodes/{WilhelmstiftValue}/quarters/{quarterId}

Updates an existing quarter. Allows moving the quarter to another node if a different HallAdress is provided.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
WilhelmstiftValue

The Hall Address (GUID) of the current parent node.

globally unique identifier

Required

quarterId

The ID of the quarter to update.

globally unique identifier

Required

Body Parameters

Fields to update. If HallAdress differs from route, quarter will be moved.

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": "52830fab-4c45-4867-85ed-aefa353dca00",
  "Name": "sample string 2",
  "Adresse": "sample string 3",
  "StaticContextId": "80be61a8-6f35-44e4-87e6-deda726b312c",
  "HallAdress": "638794a3-5691-43d5-ac61-cc85fffe059f"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

200 OK with updated QuarterDTO. 404 if not found.

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.