Person Properties
Create multiple new person properties
POST
/
properties
/
import
curl --request POST \
--url https://api.rallyuxr.com/api/public/v1/properties/import \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '[
{
"name": "Company Size",
"propertyType": "SINGLE_SELECT",
"propertyOptions": [
{
"name": "SMB (1 - 100 employees)",
"color": "GREEN"
},
{
"name": "Mid Market (101 - 2000 employees)",
"color": "YELLOW"
},
{
"name": "Enterprise (2000+ employees)",
"color": "BLUE"
}
],
"isUnique": false,
"isPHI": false,
"isPII": false
}
]'
{
"results": [
{
"personProperty": {
"propertyId": "<string>",
"name": "<string>",
"propertyType": "SINGLE_SELECT",
"propertyOptions": [
{
"propertyOptionId": "<string>",
"name": "<string>",
"color": "GREY",
"order": "1"
}
],
"isUnique": true,
"isPHI": true,
"isPII": true
},
"isAsync": true,
"bulkActionUserRequestId": "<string>"
}
],
"errors": [
{
"message": "<string>",
"path": [
"<string>"
],
"name": "<string>"
}
]
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json · object[]
Input object for adding multiple person properties
Response
200
application/json
The created person properties
The response is of type object
.
curl --request POST \
--url https://api.rallyuxr.com/api/public/v1/properties/import \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '[
{
"name": "Company Size",
"propertyType": "SINGLE_SELECT",
"propertyOptions": [
{
"name": "SMB (1 - 100 employees)",
"color": "GREEN"
},
{
"name": "Mid Market (101 - 2000 employees)",
"color": "YELLOW"
},
{
"name": "Enterprise (2000+ employees)",
"color": "BLUE"
}
],
"isUnique": false,
"isPHI": false,
"isPII": false
}
]'
{
"results": [
{
"personProperty": {
"propertyId": "<string>",
"name": "<string>",
"propertyType": "SINGLE_SELECT",
"propertyOptions": [
{
"propertyOptionId": "<string>",
"name": "<string>",
"color": "GREY",
"order": "1"
}
],
"isUnique": true,
"isPHI": true,
"isPII": true
},
"isAsync": true,
"bulkActionUserRequestId": "<string>"
}
],
"errors": [
{
"message": "<string>",
"path": [
"<string>"
],
"name": "<string>"
}
]
}