Skip to content

Batch Assign Touch Passes to Users

PUT
/api/v1/developer/users/touch_passes/assign

Authorizations

bearerAuth
Type
HTTP (bearer)

Request Body

application/json
JSON
{
  
"ids": [
  
  
"string"
  
],
  
"emails": {
  
  
"additionalProperties": "string"
  
}
}

Responses

Touch passes assigned successfully

application/json
JSON
{
  
"code": "string",
  
"msg": "string",
  
"data": [
  
  
{
  
  
  
"id": "string",
  
  
  
"card_id": "string",
  
  
  
"card_name": "string",
  
  
  
"status": "string",
  
  
  
"last_activity": "string",
  
  
  
"user_id": "string",
  
  
  
"user_name": "string",
  
  
  
"user_email": "string",
  
  
  
"user_avatar": "string",
  
  
  
"user_status": "string",
  
  
  
"activated_at": {
  
  
  
},
  
  
  
"expired_at": {
  
  
  
},
  
  
  
"bundles": [
  
  
  
  
{
  
  
  
  
  
"bundle_id": "string",
  
  
  
  
  
"bundle_status": "string",
  
  
  
  
  
"device_id": "string",
  
  
  
  
  
"device_name": "string",
  
  
  
  
  
"device_type": 0,
  
  
  
  
  
"source": "string"
  
  
  
  
}
  
  
  
]
  
  
}
  
]
}

Playground

Server
Authorization
Body

Samples

Powered by VitePress OpenAPI