Create MAC requests (async)
curl --request PUT \
--url https://api.tangoanalytics.com/v1/spacemgmt/batch/moverequest \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-client: <api-key>' \
--data '
{
"records": [
{
"ext_request_number": "<string>",
"requested_by": "<string>",
"requested_for": "<string>",
"requested_date": "<string>",
"from_property": "<string>",
"from_building": "<string>",
"from_floor": "<string>",
"from_space": "<string>",
"from_area": "<string>",
"to_property": "<string>",
"to_building": "<string>",
"to_floor": "<string>",
"to_space": "<string>",
"to_area": "<string>",
"asset_number": "<string>",
"justification": "<string>",
"notes": "<string>",
"mac_group": "<string>",
"from_locker": "<string>",
"to_locker": "<string>",
"c_ext_attr1": "<string>",
"c_ext_attr2": "<string>",
"c_ext_attr3": "<string>",
"c_ext_attr4": "<string>",
"c_ext_attr5": "<string>",
"c_ext_attr6": "<string>",
"c_ext_attr7": "<string>",
"c_ext_attr8": "<string>",
"c_ext_attr9": "<string>",
"c_ext_attr10": "<string>",
"c_ext_lov1": "<string>",
"c_ext_lov2": "<string>",
"c_ext_lov3": "<string>",
"c_ext_lov4": "<string>",
"c_ext_lov5": "<string>",
"n_ext_lov1": 123,
"n_ext_lov2": 123,
"n_ext_lov3": 123,
"n_ext_lov4": 123,
"n_ext_lov5": 123,
"d_ext_lov1": "<string>",
"d_ext_lov2": "<string>",
"d_ext_lov3": "<string>",
"d_ext_lov4": "<string>",
"d_ext_lov5": "<string>"
}
]
}
'const options = {
method: 'PUT',
headers: {
'x-client': '<api-key>',
'x-api-key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
records: [
{
ext_request_number: '<string>',
requested_by: '<string>',
requested_for: '<string>',
requested_date: '<string>',
from_property: '<string>',
from_building: '<string>',
from_floor: '<string>',
from_space: '<string>',
from_area: '<string>',
to_property: '<string>',
to_building: '<string>',
to_floor: '<string>',
to_space: '<string>',
to_area: '<string>',
asset_number: '<string>',
justification: '<string>',
notes: '<string>',
mac_group: '<string>',
from_locker: '<string>',
to_locker: '<string>',
c_ext_attr1: '<string>',
c_ext_attr2: '<string>',
c_ext_attr3: '<string>',
c_ext_attr4: '<string>',
c_ext_attr5: '<string>',
c_ext_attr6: '<string>',
c_ext_attr7: '<string>',
c_ext_attr8: '<string>',
c_ext_attr9: '<string>',
c_ext_attr10: '<string>',
c_ext_lov1: '<string>',
c_ext_lov2: '<string>',
c_ext_lov3: '<string>',
c_ext_lov4: '<string>',
c_ext_lov5: '<string>',
n_ext_lov1: 123,
n_ext_lov2: 123,
n_ext_lov3: 123,
n_ext_lov4: 123,
n_ext_lov5: 123,
d_ext_lov1: '<string>',
d_ext_lov2: '<string>',
d_ext_lov3: '<string>',
d_ext_lov4: '<string>',
d_ext_lov5: '<string>'
}
]
})
};
fetch('https://api.tangoanalytics.com/v1/spacemgmt/batch/moverequest', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.tangoanalytics.com/v1/spacemgmt/batch/moverequest"
payload = { "records": [
{
"ext_request_number": "<string>",
"requested_by": "<string>",
"requested_for": "<string>",
"requested_date": "<string>",
"from_property": "<string>",
"from_building": "<string>",
"from_floor": "<string>",
"from_space": "<string>",
"from_area": "<string>",
"to_property": "<string>",
"to_building": "<string>",
"to_floor": "<string>",
"to_space": "<string>",
"to_area": "<string>",
"asset_number": "<string>",
"justification": "<string>",
"notes": "<string>",
"mac_group": "<string>",
"from_locker": "<string>",
"to_locker": "<string>",
"c_ext_attr1": "<string>",
"c_ext_attr2": "<string>",
"c_ext_attr3": "<string>",
"c_ext_attr4": "<string>",
"c_ext_attr5": "<string>",
"c_ext_attr6": "<string>",
"c_ext_attr7": "<string>",
"c_ext_attr8": "<string>",
"c_ext_attr9": "<string>",
"c_ext_attr10": "<string>",
"c_ext_lov1": "<string>",
"c_ext_lov2": "<string>",
"c_ext_lov3": "<string>",
"c_ext_lov4": "<string>",
"c_ext_lov5": "<string>",
"n_ext_lov1": 123,
"n_ext_lov2": 123,
"n_ext_lov3": 123,
"n_ext_lov4": 123,
"n_ext_lov5": 123,
"d_ext_lov1": "<string>",
"d_ext_lov2": "<string>",
"d_ext_lov3": "<string>",
"d_ext_lov4": "<string>",
"d_ext_lov5": "<string>"
}
] }
headers = {
"x-client": "<api-key>",
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"status": "OK",
"gu_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status_message": "<string>"
}MAC Requests
Create MAC requests (async)
PUT
/
v1
/
spacemgmt
/
batch
/
moverequest
Create MAC requests (async)
curl --request PUT \
--url https://api.tangoanalytics.com/v1/spacemgmt/batch/moverequest \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-client: <api-key>' \
--data '
{
"records": [
{
"ext_request_number": "<string>",
"requested_by": "<string>",
"requested_for": "<string>",
"requested_date": "<string>",
"from_property": "<string>",
"from_building": "<string>",
"from_floor": "<string>",
"from_space": "<string>",
"from_area": "<string>",
"to_property": "<string>",
"to_building": "<string>",
"to_floor": "<string>",
"to_space": "<string>",
"to_area": "<string>",
"asset_number": "<string>",
"justification": "<string>",
"notes": "<string>",
"mac_group": "<string>",
"from_locker": "<string>",
"to_locker": "<string>",
"c_ext_attr1": "<string>",
"c_ext_attr2": "<string>",
"c_ext_attr3": "<string>",
"c_ext_attr4": "<string>",
"c_ext_attr5": "<string>",
"c_ext_attr6": "<string>",
"c_ext_attr7": "<string>",
"c_ext_attr8": "<string>",
"c_ext_attr9": "<string>",
"c_ext_attr10": "<string>",
"c_ext_lov1": "<string>",
"c_ext_lov2": "<string>",
"c_ext_lov3": "<string>",
"c_ext_lov4": "<string>",
"c_ext_lov5": "<string>",
"n_ext_lov1": 123,
"n_ext_lov2": 123,
"n_ext_lov3": 123,
"n_ext_lov4": 123,
"n_ext_lov5": 123,
"d_ext_lov1": "<string>",
"d_ext_lov2": "<string>",
"d_ext_lov3": "<string>",
"d_ext_lov4": "<string>",
"d_ext_lov5": "<string>"
}
]
}
'const options = {
method: 'PUT',
headers: {
'x-client': '<api-key>',
'x-api-key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
records: [
{
ext_request_number: '<string>',
requested_by: '<string>',
requested_for: '<string>',
requested_date: '<string>',
from_property: '<string>',
from_building: '<string>',
from_floor: '<string>',
from_space: '<string>',
from_area: '<string>',
to_property: '<string>',
to_building: '<string>',
to_floor: '<string>',
to_space: '<string>',
to_area: '<string>',
asset_number: '<string>',
justification: '<string>',
notes: '<string>',
mac_group: '<string>',
from_locker: '<string>',
to_locker: '<string>',
c_ext_attr1: '<string>',
c_ext_attr2: '<string>',
c_ext_attr3: '<string>',
c_ext_attr4: '<string>',
c_ext_attr5: '<string>',
c_ext_attr6: '<string>',
c_ext_attr7: '<string>',
c_ext_attr8: '<string>',
c_ext_attr9: '<string>',
c_ext_attr10: '<string>',
c_ext_lov1: '<string>',
c_ext_lov2: '<string>',
c_ext_lov3: '<string>',
c_ext_lov4: '<string>',
c_ext_lov5: '<string>',
n_ext_lov1: 123,
n_ext_lov2: 123,
n_ext_lov3: 123,
n_ext_lov4: 123,
n_ext_lov5: 123,
d_ext_lov1: '<string>',
d_ext_lov2: '<string>',
d_ext_lov3: '<string>',
d_ext_lov4: '<string>',
d_ext_lov5: '<string>'
}
]
})
};
fetch('https://api.tangoanalytics.com/v1/spacemgmt/batch/moverequest', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.tangoanalytics.com/v1/spacemgmt/batch/moverequest"
payload = { "records": [
{
"ext_request_number": "<string>",
"requested_by": "<string>",
"requested_for": "<string>",
"requested_date": "<string>",
"from_property": "<string>",
"from_building": "<string>",
"from_floor": "<string>",
"from_space": "<string>",
"from_area": "<string>",
"to_property": "<string>",
"to_building": "<string>",
"to_floor": "<string>",
"to_space": "<string>",
"to_area": "<string>",
"asset_number": "<string>",
"justification": "<string>",
"notes": "<string>",
"mac_group": "<string>",
"from_locker": "<string>",
"to_locker": "<string>",
"c_ext_attr1": "<string>",
"c_ext_attr2": "<string>",
"c_ext_attr3": "<string>",
"c_ext_attr4": "<string>",
"c_ext_attr5": "<string>",
"c_ext_attr6": "<string>",
"c_ext_attr7": "<string>",
"c_ext_attr8": "<string>",
"c_ext_attr9": "<string>",
"c_ext_attr10": "<string>",
"c_ext_lov1": "<string>",
"c_ext_lov2": "<string>",
"c_ext_lov3": "<string>",
"c_ext_lov4": "<string>",
"c_ext_lov5": "<string>",
"n_ext_lov1": 123,
"n_ext_lov2": 123,
"n_ext_lov3": 123,
"n_ext_lov4": 123,
"n_ext_lov5": 123,
"d_ext_lov1": "<string>",
"d_ext_lov2": "<string>",
"d_ext_lov3": "<string>",
"d_ext_lov4": "<string>",
"d_ext_lov5": "<string>"
}
] }
headers = {
"x-client": "<api-key>",
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"status": "OK",
"gu_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status_message": "<string>"
}Body
application/json
Show child attributes
Show child attributes

