POST api/Department/DetailsForDepartment?department={department}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
department

string

Required

Body Parameters

None.

Response Information

Resource Description

DepartmentDetail
NameDescriptionTypeAdditional information
Id

The department's primary ID

string

Required

Name

The name of the department

string

Required

AddressA

The department's A address

string

Required

AddressB

The department's B address

string

Optional

AddressC

The department's C address

string

Optional

ZipCity

The department's zip and city

string

Required

AreaCode

The department's area code (from payment apps)

string

Optional

Regulations

The department's regulations

Collection of DepartmentRegulation

Required

Products

The department's products

Collection of DepartmentProduct

Required

Response Formats

application/json, text/json

Sample:
{
  "Id": "142",
  "Name": "Ved Vesterport 3 - 3A",
  "AddressA": "Ved Vesterport 3 - 3A",
  "AddressB": "Ved Vesterport 1",
  "AddressC": "Ved Vesterport 2",
  "ZipCity": "1612 København V",
  "AreaCode": "9999",
  "Regulations": [
    {
      "Title": "Parkering tilladt med gyldig P-billet i tidsrummet 00.00–24.00. Alle dage.",
      "ImageUrl": "https://parkcareuserbackend01.parkzone.dk/content/pictograms/p-billet.png"
    },
    {
      "Title": "Parkering tilladt med gyldig P-billet i tidsrummet 00.00–24.00. Alle dage.",
      "ImageUrl": "https://parkcareuserbackend01.parkzone.dk/content/pictograms/p-billet.png"
    }
  ],
  "Products": [
    {
      "ItemNumber": "A01",
      "Description": "Parkering pr. time",
      "Price": 24.0,
      "PriceType": 0,
      "ValidFrom": "07:00:00",
      "ValidTo": "17:00:00",
      "Qty": 0.0
    },
    {
      "ItemNumber": "A01",
      "Description": "Parkering pr. time",
      "Price": 24.0,
      "PriceType": 0,
      "ValidFrom": "07:00:00",
      "ValidTo": "17:00:00",
      "Qty": 0.0
    }
  ]
}