POST api/Venues/TypeService/Submit

Request Information

URI Parameters

None.

Body Parameters

VenueTypeServiceDTO
NameDescriptionTypeAdditional information
CostPeriod

CostPeriod

None.

ActivityServices

Collection of TypeActivityTypeServiceDTO

None.

WOSubType

TypeDTO

None.

WOType

TypeDTO

None.

Team

WOTeamDTO

None.

Urgence

WOUrgenceDTO

None.

ExternOrganisation

OrganisationDTO

None.

Workman

PortalUserDTO

None.

CreateAutoWO

boolean

None.

AutomaticallyApproveWorkOrder

boolean

None.

AutomaticallyPlanWorkOrder

boolean

None.

BlockedTimeBeforeReservation

time interval

None.

BlockedTimeAfterReservation

time interval

None.

Id

globally unique identifier

None.

Description

string

None.

CrmId

string

None.

IsArchived

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "CostPeriod": {
    "Cost": 1.0,
    "Period": 0,
    "CostWinter": 1.0,
    "CostToday": 1.0
  },
  "ActivityServices": [
    {
      "TypeServiceId": "b76bc577-383c-4e22-bf97-850d1312b9e7",
      "TypeActivityId": "29d2d025-5d9b-43b6-a3b9-6638d959a47b",
      "Type": 0,
      "Id": "5880cf15-a62a-4127-9992-9440c5066bdf",
      "Description": "sample string 4",
      "CrmId": "sample string 5",
      "IsArchived": true
    },
    {
      "TypeServiceId": "b76bc577-383c-4e22-bf97-850d1312b9e7",
      "TypeActivityId": "29d2d025-5d9b-43b6-a3b9-6638d959a47b",
      "Type": 0,
      "Id": "5880cf15-a62a-4127-9992-9440c5066bdf",
      "Description": "sample string 4",
      "CrmId": "sample string 5",
      "IsArchived": true
    }
  ],
  "WOSubType": {
    "Name": "sample string 1",
    "NameWithParent": "sample string 2",
    "Reference": "sample string 3",
    "Level": 0,
    "ParentID": "5ae18cd3-7461-4c98-a3a3-8b05aacf7362",
    "Visibility": 1,
    "TypeUse": 0,
    "MailMessagePortal": "sample string 4",
    "AutoMailPortal": "sample string 5",
    "MailMessagePublic": "sample string 6",
    "AutoMailPublic": "sample string 7",
    "Colour": 8,
    "Id": "fa2789cd-916c-4eb0-8de2-f79c62bf56d8",
    "Description": "sample string 10",
    "CrmId": "sample string 11",
    "IsArchived": true
  },
  "WOType": {
    "Name": "sample string 1",
    "NameWithParent": "sample string 2",
    "Reference": "sample string 3",
    "Level": 0,
    "ParentID": "5ae18cd3-7461-4c98-a3a3-8b05aacf7362",
    "Visibility": 1,
    "TypeUse": 0,
    "MailMessagePortal": "sample string 4",
    "AutoMailPortal": "sample string 5",
    "MailMessagePublic": "sample string 6",
    "AutoMailPublic": "sample string 7",
    "Colour": 8,
    "Id": "fa2789cd-916c-4eb0-8de2-f79c62bf56d8",
    "Description": "sample string 10",
    "CrmId": "sample string 11",
    "IsArchived": true
  },
  "Team": {
    "Reference": "sample string 1",
    "Id": "bc72f26a-e00b-4637-bd9e-7e1cde7cfaeb",
    "Description": "sample string 3",
    "CrmId": "sample string 4",
    "IsArchived": true
  },
  "Urgence": {
    "Visibility": 1,
    "Id": "d4d1231b-7293-4f8e-80d5-692df532765e",
    "Description": "sample string 2",
    "CrmId": "sample string 3",
    "IsArchived": true
  },
  "ExternOrganisation": {
    "PriceCategoryID": "f1435309-dcae-40d1-97ad-84e3e8c5c50b",
    "PriceCategory": {
      "MustPayGuarantee": true,
      "MustPayTransport": true,
      "MustPickup": true,
      "MustPayFee": true,
      "MustPayDefGuarantee": true,
      "Discount": 6.0,
      "MinLoanDeadlineReception": 1,
      "MaxLoanDeadlineReception": 1,
      "Id": "d9be143d-73b8-4b05-bc5f-828d9b73ae3d",
      "Description": "sample string 8",
      "CrmId": "sample string 9",
      "IsArchived": true
    },
    "VenuePriceCategoryID": "1fe58f17-44f2-4d6d-b3a3-493a3d62dfd8",
    "VenuePriceCategory": {
      "Discount": 1,
      "CustomDaysBeforeReservation": true,
      "MinDaysBeforeReservation": 3,
      "MaxDaysBeforeReservation": 4,
      "IsDepositMandatory": true,
      "IsReservationCostMandatory": true,
      "Id": "1e60ccf2-8921-422e-a3ed-c55be315e005",
      "Description": "sample string 8",
      "CrmId": "sample string 9",
      "IsArchived": true
    },
    "City": "sample string 1",
    "StreetName": "sample string 2",
    "HouseNumber": "sample string 3",
    "Zip": "sample string 4",
    "Country": "sample string 5",
    "latitude": 1.1,
    "longitude": 1.1,
    "X": 1.1,
    "Y": 1.1,
    "CodifLocationID": "463fba43-8436-4b82-8303-61511bd4920b",
    "Id": "dfc48c24-10d0-4e55-88c2-38d211c943e7",
    "Description": "sample string 7",
    "CrmId": "sample string 8",
    "IsArchived": true
  },
  "Workman": {
    "ApplicationUser": {
      "Id": "sample string 1",
      "Country": "BE",
      "Language": "NL",
      "Customers": [
        {
          "Id": "cfc1b272-ea2d-4823-a94c-6f426ae77274",
          "Description": "sample string 2"
        },
        {
          "Id": "cfc1b272-ea2d-4823-a94c-6f426ae77274",
          "Description": "sample string 2"
        }
      ]
    },
    "DepartmentID": "f08c91dc-db6d-42bc-9180-4acae3e9ca84",
    "Department": {
      "PriceCategoryID": "f1435309-dcae-40d1-97ad-84e3e8c5c50b",
      "PriceCategory": {
        "MustPayGuarantee": true,
        "MustPayTransport": true,
        "MustPickup": true,
        "MustPayFee": true,
        "MustPayDefGuarantee": true,
        "Discount": 6.0,
        "MinLoanDeadlineReception": 1,
        "MaxLoanDeadlineReception": 1,
        "Id": "d9be143d-73b8-4b05-bc5f-828d9b73ae3d",
        "Description": "sample string 8",
        "CrmId": "sample string 9",
        "IsArchived": true
      },
      "VenuePriceCategoryID": "1fe58f17-44f2-4d6d-b3a3-493a3d62dfd8",
      "VenuePriceCategory": {
        "Discount": 1,
        "CustomDaysBeforeReservation": true,
        "MinDaysBeforeReservation": 3,
        "MaxDaysBeforeReservation": 4,
        "IsDepositMandatory": true,
        "IsReservationCostMandatory": true,
        "Id": "1e60ccf2-8921-422e-a3ed-c55be315e005",
        "Description": "sample string 8",
        "CrmId": "sample string 9",
        "IsArchived": true
      },
      "City": "sample string 1",
      "StreetName": "sample string 2",
      "HouseNumber": "sample string 3",
      "Zip": "sample string 4",
      "Country": "sample string 5",
      "latitude": 1.1,
      "longitude": 1.1,
      "X": 1.1,
      "Y": 1.1,
      "CodifLocationID": "463fba43-8436-4b82-8303-61511bd4920b",
      "Id": "dfc48c24-10d0-4e55-88c2-38d211c943e7",
      "Description": "sample string 7",
      "CrmId": "sample string 8",
      "IsArchived": true
    },
    "OrganisationID": "ac3105ee-4ad0-4ca6-9efa-e1ded08ceba7",
    "Organisation": {
      "PriceCategoryID": "f1435309-dcae-40d1-97ad-84e3e8c5c50b",
      "PriceCategory": {
        "MustPayGuarantee": true,
        "MustPayTransport": true,
        "MustPickup": true,
        "MustPayFee": true,
        "MustPayDefGuarantee": true,
        "Discount": 6.0,
        "MinLoanDeadlineReception": 1,
        "MaxLoanDeadlineReception": 1,
        "Id": "d9be143d-73b8-4b05-bc5f-828d9b73ae3d",
        "Description": "sample string 8",
        "CrmId": "sample string 9",
        "IsArchived": true
      },
      "VenuePriceCategoryID": "1fe58f17-44f2-4d6d-b3a3-493a3d62dfd8",
      "VenuePriceCategory": {
        "Discount": 1,
        "CustomDaysBeforeReservation": true,
        "MinDaysBeforeReservation": 3,
        "MaxDaysBeforeReservation": 4,
        "IsDepositMandatory": true,
        "IsReservationCostMandatory": true,
        "Id": "1e60ccf2-8921-422e-a3ed-c55be315e005",
        "Description": "sample string 8",
        "CrmId": "sample string 9",
        "IsArchived": true
      },
      "City": "sample string 1",
      "StreetName": "sample string 2",
      "HouseNumber": "sample string 3",
      "Zip": "sample string 4",
      "Country": "sample string 5",
      "latitude": 1.1,
      "longitude": 1.1,
      "X": 1.1,
      "Y": 1.1,
      "CodifLocationID": "463fba43-8436-4b82-8303-61511bd4920b",
      "Id": "dfc48c24-10d0-4e55-88c2-38d211c943e7",
      "Description": "sample string 7",
      "CrmId": "sample string 8",
      "IsArchived": true
    },
    "CrmUserId": 1,
    "Is3PUser": true,
    "IsWorkman": true,
    "IsPublic": true,
    "Roles": [
      "sample string 1",
      "sample string 2"
    ],
    "TeamID": "cc10379b-649c-4cd0-b95c-cf5fffc14fd7",
    "MyTeamIDs": [
      "09a9dc48-dcb5-4a93-a9f9-3ebac0ae2841",
      "947b9936-8bdc-453d-ba40-3ca36a435ca7"
    ],
    "MyTeams": [
      {
        "Reference": "sample string 1",
        "Id": "bc72f26a-e00b-4637-bd9e-7e1cde7cfaeb",
        "Description": "sample string 3",
        "CrmId": "sample string 4",
        "IsArchived": true
      },
      {
        "Reference": "sample string 1",
        "Id": "bc72f26a-e00b-4637-bd9e-7e1cde7cfaeb",
        "Description": "sample string 3",
        "CrmId": "sample string 4",
        "IsArchived": true
      }
    ],
    "UserType": 0,
    "ProfileID": "a8df4527-a4ea-4452-a829-b988600501b0",
    "CopyFromId": "sample string 5",
    "ProfileForRole": 0,
    "ProfilePicture": "sample string 6",
    "FirstName": "sample string 7",
    "LastName": "sample string 8",
    "Email": "sample string 9",
    "Phone": "sample string 10",
    "GSM": "sample string 11",
    "Fax": "sample string 12",
    "Street": "sample string 13",
    "HouseNr": "sample string 14",
    "Bus": "sample string 15",
    "PostalCode": "sample string 16",
    "City": "sample string 17",
    "Ssn": "sample string 18",
    "Country": "sample string 19",
    "Language": "sample string 20",
    "FullName": "sample string 7 sample string 8",
    "RegistrationNr": "sample string 21",
    "IsExtern": true,
    "Gender": 22,
    "IsValidPerson": true,
    "Address": "sample string 13 sample string 14 sample string 15, sample string 16 sample string 17",
    "Id": "dbc6c39a-0066-42c7-bb00-599824d1e2e2",
    "Description": "sample string 24",
    "CrmId": "sample string 25",
    "IsArchived": true
  },
  "CreateAutoWO": true,
  "AutomaticallyApproveWorkOrder": true,
  "AutomaticallyPlanWorkOrder": true,
  "BlockedTimeBeforeReservation": "00:00:00.1234567",
  "BlockedTimeAfterReservation": "00:00:00.1234567",
  "Id": "f8f6d6fb-7668-4941-97df-193a26a6cec1",
  "Description": "sample string 5",
  "CrmId": "sample string 6",
  "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.