Tournament Referee
Delete Tournament Referee
DELETE
/v1/tournament_referee
💡
This request requires “PB-API-TOKEN” from the platforms.
Param | Description |
---|---|
tournament_uuid | Delete all referees with selected tournament_uuid. |
uuid | Delete single referee with selected uuid. |
Request
Empty
Response
Empty
List Tournament Referee
GET
/v1/data/tournament_referee
💡
This request requires “PB-API-TOKEN” from the platforms or “PB-USER-TOKEN” from the authenticated user.
Param | Description |
---|---|
tournament_uuid | Tournament uuid. |
user_uuid | User uuid. |
Request
Empty
Response
{
"totalRecords": "1",
"result": [
{
"uuid": "984fc06c-89df-4dd0-a0c9-3a49ba2e1940",
"tournamentUuid": "ff915d31-ca5b-4221-ba7e-d9af3ed78fdd",
"userUuid": "6194dd37-d512-4f04-805a-3264bffed5e2",
"firstName": "John",
"lastName": "Doed",
"nameSuffix": "JR"
}
]
}
List Single Tournament Referee
GET
/v1/data/tournament_referee/{uuid}
💡
This request requires “PB-API-TOKEN” from the platforms.
Request
Empty
Response
{
"uuid": "984fc06c-89df-4dd0-a0c9-3a49ba2e1940",
"tournamentUuid": "ff915d31-ca5b-4221-ba7e-d9af3ed78fdd",
"userUuid": "6194dd37-d512-4f04-805a-3264bffed5e2"
}
Delete Bulk Tournament Referees By Tournament Uuid
DELETE
/v1/tournament_referee/{tournament_uuid}
💡
This request requires “PB-API-TOKEN” from the platforms.
Upsert Tournament Referees
POST
/v1/tournament_referee/upsert
💡
This request requires “PB-API-TOKEN” from the platforms.
Request
{
"payload":{
"tournament_uuid":"ff915d31-ca5b-4221-ba7e-d9af3ed78fdd",
"user_uuid":"00005470-ccfc-4945-bb98-5feaecba47dd"
},
"fieldsToOmit":[]
}
Response
{
"result": {
"uuid": "c87b5b2e-d230-4fbd-b894-3cf0162f8b0b",
"tournamentUuid": "ff915d31-ca5b-4221-ba7e-d9af3ed78fdd",
"userUuid": "00005470-ccfc-4945-bb98-5feaecba47dd"
}
}