Add Venue
Testing Env
https://www.testecommerce.vodoerp.com
Testing Env
https://www.testecommerce.vodoerp.com
POST
/{{venue}}
Last modified:2025-04-14 01:05:16
Key | Value | Description | Type |
---|---|---|---|
apikey | 5f28583f26a1a | API key for authentication; contact support to obtain. Required | string |
apiconnection | appmobile | Connection type; contact support to obtain. Required | string |
secure-business-key | 4765066450c0bd66325.48403130 | Business-specific key; contact support for valid values. Required | string |
lang | ar | Language preference: ar for Arabic, en for English. Optional | string |
userToken | 09119b2691afaa567bc1d46c829ebd41193c8545191146cc5df791681a792ad9 | (Get user token from https://testaccounts.vodoerp.com/api/login or https://accounts.vodoerp.com/api/login ) | string |
Key | Value | Description | Type |
---|---|---|---|
name_en | Leap V2 | English name of the venue. Required | string |
name_ar | لييب V2 | Arabic name of the venue. Required | string |
width | 1000 | Venue width. Optional | string |
height | 300 | Venue height. Optional | string |
longitude | 46.6753 | Longitude coordinate. Optional | string |
latitude | 24.7136 | Latitude coordinate. Optional | string |
status | 1 | Venue status: 1 (active), 0 (inactive). Optional | integer |
capacity | 400 | Venue capacity. Optional | integer |
address | PM7G+C4M, Al Olaya, Riyadh 12251, Saudi Arabia | Venue address. Required | string |
phone | 1234567890 | Contact phone number. Optional | string |
email | kegejif579@javnoi.com | Contact email. Optional | string |
website | http://grandhall.com | Venue website. Optional | string |
categories | [110] | List of category IDs. Required | array |
attributes | (complex object) | Array of attributes with gates. Optional | array |
attributes[].name_en | Leap VIP | English attribute name. Optional | string |
attributes[].name_ar | لييب المميز | Arabic attribute name. Optional | string |
attributes[].gate | (array) | Array of gates for the attribute. Optional | array |
attributes[].gate[].name_en | Leap Gate A | English gate name. Optional | string |
attributes[].gate[].name_ar | Gate A | Arabic gate name. Optional | string |
attributes[].gate[].type | 1 | Gate type: 1 or 2 . Optional | integer |
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://www.testecommerce.vodoerp.com/{{venue}}' \
--header 'apikey: 5f28583f26a1a' \
--header 'apiconnection: appmobile' \
--header 'secure-business-key: 4765066450c0bd66325.48403130' \
--header 'Accept-Language: ar' \
--header 'userToken: 09119b2691afaa567bc1d46c829ebd41193c8545191146cc5df791681a792ad9' \
--header 'Content-Type: application/json' \
--data-raw '// {
// "name_en": "Hall",
// "name_ar": "القاعة",
// "width": 100,
// "height": 200,
// "address": "123 Main Street",
// "phone": "1234567890",
// "email": "grandhall@email.com",
// "website": "http://grandhall.com",
// "capacity": 500,
// "latitude": 24.12345,
// "longitude": 54.98765,
// "status": 1,
// "categories": [110, 112],
// "attributes": [
// {
// "name_en": "Main Gate",
// "name_ar": "Main Gate",
// "gate": [
// {
// "name_en": "Gate A",
// "name_ar": "Gate A",
// "type": 1
// // "catalog": [
// // 22373,
// // 22373
// // ]
// },
// {
// "name_en": "Gate B",
// "name_ar": "Gate B",
// "type": 2
// // "catalog": [
// // 22373,
// // 22373
// // ]
// }
// ]
// },
// {
// "name_en": "VIP Section",
// "name_ar": "VIP Section",
// "gate": [
// {
// "name_en": "Gate C",
// "name_ar": "Gate C",
// "type": 1,
// "catalog": [
// 22373,
// 22373
// ]
// }
// ]
// }
// ]
// }
{
"name_en": "Leap V2",
"name_ar": "لييب V2",
"width": "1000",
"height": "300",
"longitude": "46.6753",
"latitude": "24.7136",
"status": 1,
"capacity": 400,
"address": "PM7G+C4M, Al Olaya, Riyadh 12251, Saudi Arabia",
"phone": "1234567890",
"email": "kegejif579@javnoi.com",
"website": "http://grandhall.com",
"categories": [110],
"attributes": [
{
"name_en": "Leap VIP",
"name_ar": "لييب المميز",
"gate": [
{
"name_en": "Leap Gate A",
"name_ar": "Gate A",
// "catalog": [
// 1606
// ],
"type": 1
},
{
"name_en": "Leap Gate B",
"name_ar": "Gate B",
// "catalog": [
// 1606
// ],
"type": 1
},
{
"name_en": "Leap Gate C",
"name_ar": "Gate B",
// "catalog": [
// 22373,
// 22373
// ],
"type": 2
},
{
"name_en": "Leap Gate D",
"name_ar": "Gate B",
// "catalog": [
// 1606
// ],
"type": 2
}
]
},
{
"name_en": "Leap VIP",
"name_ar": "لييب المميز",
"gate": [
{
"name_en": "Leap Gate A",
"name_ar": "Gate A",
// "catalog": [
// 1606
// ],
"type": 1
},
{
"name_en": "Leap Gate B",
"name_ar": "Gate B",
// "catalog": [
// 1605,
// 1606
// ],
"type": 1
},
{
"name_en": "Leap Gate C",
"name_ar": "Gate B",
// "catalog": [
// 1606,
// 1605
// ],
"type": 2
},
{
"name_en": "Leap Gate D",
"name_ar": "Gate B",
// "catalog": [
// 1606
// ],
"type": 2
}
]
}
]
}'
Response Response Example
Add Venue
{
"status": true,
"message": "تم انشاء المكان الجديد بنجاح!",
"data": {
"uuid": "b40917f4-930b-491f-9dc3-18c9c0bdbf9c",
"business_id": 259,
"name_en": "Leap V2",
"name_ar": "لييب V2",
"width": "1000",
"height": "300",
"address": "PM7G+C4M, Al Olaya, Riyadh 12251, Saudi Arabia",
"phone": "1234567890",
"email": "kegejif579@javnoi.com",
"website": "http://grandhall.com",
"capacity": 400,
"latitude": "24.7136",
"longitude": "46.6753",
"status": "1",
"updated_at": "2025-03-24T14:35:36.000000Z",
"created_at": "2025-03-24T14:35:36.000000Z",
"id": 39
}
}
Request
Header Params
apikey
string
required
Example:
5f28583f26a1a
apiconnection
string
required
Example:
appmobile
secure-business-key
string
required
728106399db2b289783.89154521
2680667168f2f8a68f6.12561200
140356399db2b2c32f0.25237063
96701678e330f31f768.22400604
14807664478836358b0.31329842
Example:
4765066450c0bd66325.48403130
Accept-Language
string
required
Example:
ar
userToken
string
required
https://testaccounts.vodoerp.com/api/login
or
https://accounts.vodoerp.com/api/login
Example:
09119b2691afaa567bc1d46c829ebd41193c8545191146cc5df791681a792ad9
Body Params application/json