Add Card
JSON data ADD CARD
Add more card into existing User.
POST URL
https://api.nuveq.cloud/api/
BODY JSON
Name | TYPE | DESCRIPTION | REQUIRED |
---|---|---|---|
port |
STRING |
1105 |
|
api_id |
NUMBER (INT) |
can retrive data on Nuveq Portal user setting |
|
user_id |
NUMBER |
can retrive data on API USERS - Get User |
|
card_no |
NUMBER (INT) |
input card number to be add |
|
token_key |
NUMBER (INT) |
can retrive data on Nuveq Portal user setting |
|
BODY JSON STRING
{"port":STRING,"api_id":NUMBER, "user_id":NUMBER, "cards": [{"card_no":NUMBER, "pin_no":NUMBER}, {"card_no":NUMBER, "pin_no":NUMBER}], "token_key":"__API_KEY__"}
JSON Return Data
data [
{
card_id: " ",
card_no: " ",
}
]
{
card_id: " ",
card_no: " ",
}
]
ERROR RETURN
ERROR STRING | FIELD API | DESCRIPTION |
---|---|---|
User Id not found |
user_id |
enter user id not exits |
User Id is NULL |
user_id |
User Id is empty |
Card is empty. |
card_no |
Card Number is empty |