PUT api/Venues/Venue/{Id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

globally unique identifier

Required

Body Parameters

VenueCreateUpdateCommand
NameDescriptionTypeAdditional information
Status

VenueStatus

None.

Organisation

InternOrganisationCreateUpdateCommand

None.

TypeRoom

TypeRoomCreateUpdateCommand

None.

TypeFloor

TypeFloorCreateUpdateCommand

None.

Internal

boolean

None.

External

boolean

None.

AvailableOnHolidays

boolean

None.

EnergyCostNotIncluded

boolean

None.

AvailableForAllActivities

boolean

None.

CapacityStanding

integer

None.

CapacitySeated

integer

None.

LastStep

integer

None.

MaxStep

integer

None.

Length

decimal number

None.

Width

decimal number

None.

Height

decimal number

None.

TotalArea

decimal number

None.

ReservationCost

decimal number

None.

Remarks

string

None.

EditingDTO

string

None.

DisplayPicture

string

None.

AvailableLines

Collection of AvailableLineCreateUpdateCommand

None.

VenueAttachments

Collection of VenueAttachmentCreateUpdateCommand

None.

VenueTypeActivities

Collection of VenueTypeActivityCreateUpdateCommand

None.

Attachments

Collection of string

None.

ReservationPeriod

TimePeriod

None.

UsageCost

CostPeriod

None.

EnergyCost

CostPeriod

None.

WarantyCost

CostPeriod

None.

Id

globally unique identifier

None.

Description

string

None.

CrmId

string

None.

IsArchived

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Status": 0,
  "Organisation": {
    "WOVisibility": 1,
    "IsPatrimonium": true,
    "IsDepartment": true,
    "Installations": [
      {
        "Id": "30b174cb-dfab-4b69-84e2-fd97ae5a6bef",
        "Description": "sample string 2",
        "CrmId": "sample string 3",
        "IsArchived": true
      },
      {
        "Id": "30b174cb-dfab-4b69-84e2-fd97ae5a6bef",
        "Description": "sample string 2",
        "CrmId": "sample string 3",
        "IsArchived": true
      }
    ],
    "MainOrganisationId": "4425c56e-61db-4ff5-955b-b4c4fcfb6bb0",
    "Detail": "sample string 3",
    "Tel": "sample string 4",
    "Mobile": "sample string 5",
    "Email": "sample string 6",
    "PriceCategoryID": "125c7037-027c-4719-9328-208f9669b119",
    "IsVenue": true,
    "City": "sample string 8",
    "StreetName": "sample string 9",
    "HouseNumber": "sample string 10",
    "Zip": "sample string 11",
    "Country": "sample string 12",
    "latitude": 1.1,
    "longitude": 1.1,
    "X": 1.1,
    "Y": 1.1,
    "CodifLocationID": "85f595e3-18e7-4a72-a87d-4b3e43ed2728",
    "Id": "c0422801-c7d3-4394-a165-4058fdbde637",
    "Description": "sample string 14",
    "CrmId": "sample string 15",
    "IsArchived": true
  },
  "TypeRoom": {
    "Id": "8334704e-8521-4a36-a1db-5b07cc2cd9ec",
    "Description": "sample string 2",
    "CrmId": "sample string 3",
    "IsArchived": true
  },
  "TypeFloor": {
    "Id": "4b2de474-97c1-4431-bc62-00060db5ebec",
    "Description": "sample string 2",
    "CrmId": "sample string 3",
    "IsArchived": true
  },
  "Internal": true,
  "External": true,
  "AvailableOnHolidays": true,
  "EnergyCostNotIncluded": true,
  "AvailableForAllActivities": true,
  "CapacityStanding": 6,
  "CapacitySeated": 7,
  "LastStep": 8,
  "MaxStep": 9,
  "Length": 10.0,
  "Width": 11.0,
  "Height": 12.0,
  "TotalArea": 13.0,
  "ReservationCost": 1.0,
  "Remarks": "sample string 14",
  "EditingDTO": "sample string 15",
  "DisplayPicture": "sample string 16",
  "AvailableLines": [
    {
      "DayOfWeek": 0,
      "Start": "2020-07-11T21:49:35.7810171+00:00",
      "End": "2020-07-11T21:49:35.7810171+00:00",
      "ValidForHoliday": true,
      "Id": "c5bb1112-6263-423f-8846-1cccae411917",
      "Description": "sample string 5",
      "CrmId": "sample string 6",
      "IsArchived": true
    },
    {
      "DayOfWeek": 0,
      "Start": "2020-07-11T21:49:35.7810171+00:00",
      "End": "2020-07-11T21:49:35.7810171+00:00",
      "ValidForHoliday": true,
      "Id": "c5bb1112-6263-423f-8846-1cccae411917",
      "Description": "sample string 5",
      "CrmId": "sample string 6",
      "IsArchived": true
    }
  ],
  "VenueAttachments": [
    {
      "FileName": "sample string 1",
      "VisibleRequestor": true,
      "MainPicture": true,
      "Id": "b996fd22-3645-4acd-bb02-bf6e660de3a8",
      "Description": "sample string 5",
      "CrmId": "sample string 6",
      "IsArchived": true
    },
    {
      "FileName": "sample string 1",
      "VisibleRequestor": true,
      "MainPicture": true,
      "Id": "b996fd22-3645-4acd-bb02-bf6e660de3a8",
      "Description": "sample string 5",
      "CrmId": "sample string 6",
      "IsArchived": true
    }
  ],
  "VenueTypeActivities": [
    {
      "TypeActivity": {
        "Id": "adc06791-f153-4efe-bb42-e392cac0c777",
        "Description": "sample string 2",
        "CrmId": "sample string 3",
        "IsArchived": true
      },
      "Id": "e8df0ffc-285b-4108-b18c-d1b9000b76e0",
      "Description": "sample string 2",
      "CrmId": "sample string 3",
      "IsArchived": true
    },
    {
      "TypeActivity": {
        "Id": "adc06791-f153-4efe-bb42-e392cac0c777",
        "Description": "sample string 2",
        "CrmId": "sample string 3",
        "IsArchived": true
      },
      "Id": "e8df0ffc-285b-4108-b18c-d1b9000b76e0",
      "Description": "sample string 2",
      "CrmId": "sample string 3",
      "IsArchived": true
    }
  ],
  "Attachments": [
    "sample string 1",
    "sample string 2"
  ],
  "ReservationPeriod": 0,
  "UsageCost": {
    "Cost": 1.0,
    "Period": 0
  },
  "EnergyCost": {
    "Cost": 1.0,
    "Period": 0
  },
  "WarantyCost": {
    "Cost": 1.0,
    "Period": 0
  },
  "Id": "46622ea4-84b1-41ea-b63e-f92c5a211a6c",
  "Description": "sample string 18",
  "CrmId": "sample string 19",
  "IsArchived": true
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.