Resource Types - OBSOLETE API

List Resource Types

URL

https://dev.v3manager.com/demo/api/bookingResourceType

HTTP Method

GET

Example

curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/bookingResourceType"

Count Resource Types

URL

https://dev.v3manager.com/demo/api/bookingResourceType/count

HTTP Method

GET

Sum Resource Types

URL

https://dev.v3manager.com/demo/api/bookingResourceType/sum

HTTP Method

GET

Example

curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/bookingResourceType/sum?field=total&search=["created",">","05-07-2023"]" Encoded: curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/bookingResourceType/sum?field=total&search=%5B%22created%22%2C%22%3E%22%2C%2205-07-2023%22%5D"

Parameters

Name Type Required
field string yes
filter array no

Load Resource type by id

URL

https://dev.v3manager.com/demo/api/bookingResourceType/:id

HTTP Method

GET

Example

curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/bookingResourceType/22"

Create or update Resource Types

URL

https://dev.v3manager.com/demo/api/bookingResourceType

HTTP Method

POST

Fields

Name Label Data type Readonly Descrition
updateUserName Updated by string No
updateUser Updated by int Yes
area Area int No
areaName Area string No
assignRandom Randomly assign bool No Assign the resource randomly when it has not been specified
checkoutChangesEndDate Checkout changes the end date bool No
color Background color color No
createUser Created by int Yes
createUserName Created by string No
shortDescription Description markdown No
online Available online bool No
deleted Removed bool Yes
isExtra It is extra bool No If you add it as extra of other bookings, for example a golf buggy
consumerTags Card tag manyToMany No
updated Update date datetime Yes
created Creation date datetime Yes
icon Icon string No
image Image image No
showCheckoutButton Show checkout button bool No
multiple Multiple bool No If you allow you to add multiple bookings from the occupation, for example in golf you can booki several Green Fees at the same time
name Name string No
priority Priority int No
id ID int Yes