Resources - OBSOLETE API

List Resources

URL

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

HTTP Method

GET

Example

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

Count Resources

URL

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

HTTP Method

GET

Sum Resources

URL

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

HTTP Method

GET

Example

curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/bookingResource/sum?field=total&search=["created",">","05-07-2023"]" Encoded: curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/bookingResource/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 by id

URL

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

HTTP Method

GET

Example

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

Create or update Resources

URL

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

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
maxCapacity Maximum capacity int No
minCapacity Minimum capacity int No
color Background color color No
createUser Created by int Yes
createUserName Created by string No
online Available online bool No
deleted Removed bool Yes
updated Update date datetime Yes
created Creation date datetime Yes
preventMixed Prevent loose slots bool No
name Name string No
priority Priority int No
teacher Coach int No
teacherName Coach string No
id ID int Yes
slots Slots int No
typeName Type string No
type Type int No
icon string No
multiple bool No
periods BookingPeriod[] No