Get Address List

주소록 조회 API

get
Get Address List

https://uprism.io:30443/v1/users/{userId}/address
해당 사용자의 주소록 리스트를 조회해오는 API
Request
Response
Request
Path Parameters
userId
required
string
서브사용자 ID
Headers
Authorization
required
string
"Bearer " + {accessToken}
Response
200: OK
{
"code": 200,
"message": "success",
"response": [
{
"idx": "5C20E37C-A6DB-4634-9DF5-F48957E373A9",
"group_name": "조류",
"address_user_name": "김참새",
"email": "[email protected]",
"class_name": "대리",
"post": "경영지원부서"
},
{
"idx": "5C20E37C-A6DB-4634-9DF5-F48957E373A9",
"group_name": "조류",
"address_user_name": "김까마귀",
"email": "[email protected]",
"class_name": "사원",
"post": "경영지원부서"
}
]
}
400: Bad Request
{
"code": 400,
"message": "This account is non-member.",
"response": null
}

get
Get Address List In Group

https://uprism.io:30443/v1/users/{userId}/address/group/{groupName}
해당 사용자의 주소록 리스트를 조회해오는 API
Request
Response
Request
Path Parameters
userId
required
string
서브사용자 ID
Headers
Authentication
required
string
"Bearer " + {accessToken}
Response
200: OK
{
"code": 200,
"message": "success",
"response": [
{
"idx": "5C20E37C-A6DB-4634-9DF5-F48957E373A9",
"group_name": "조류",
"address_user_name": "김참새",
"email": "[email protected]",
"class_name": "대리",
"post": "경영지원부서"
},
{
"idx": "5C20E37C-A6DB-4634-9DF5-F48957E373A9",
"group_name": "조류",
"address_user_name": "김까마귀",
"email": "[email protected]",
"class_name": "사원",
"post": "경영지원부서"
}
]
}
400: Bad Request
{
"code": 400,
"message": "This account is non-member.",
"response": null
}