Subject List
- REQUEST (Subject List)
curl --request GET \
--url https://apis.openapi.sk.com/nugufacecan/v1/subject \
--header 'Accept: application/json' \
--header 'app-id: shdujakf0k-skdshs-skdhss-klsiss' \
--header 'appKey: aksjsdf-ksuzjdnas-ksjdyu8290lzks' \
--header 'group-id: hjsiiajsks' \
--header 'subject-name: 1110001_kim_yeonah'
- RESPONSE (Subject List)
Name | Type | Description |
---|---|---|
group_name | String | |
subject_name | String | |
subject_id | String |
{
[
{
"subject_id": "ABCDE01234",
"group_name": "happy_mart",
"subject_name": "1110001_kim_yeonah"
},
{
"subject_id": "ABCDE01235",
"group_name": "happy_mart",
"subject_name": "1110000_faker"
}
]
}
Subject Create
- REQUEST (Subject Create)
curl --request POST \
--url https://apis.openapi.sk.com/nugufacecan/v1/subject \
--header 'Accept: application/json' \
--header 'app-id: ajdfss-sdujsd-skusdf-ksdkfdf' \
--header 'appKey: kasdofhadf-skssys1df-skls22df-skas78dfy' \
--header 'group-id: 88ska-jsujdks' \
--header 'subject-name: 1110001_kim_yeonah'
- RESPONSE (Subject Create)
Name | Type | Description |
---|---|---|
group_name | String | |
subject_name | String | 사용자가 요청한 subject_name |
subject_id | String | 신규 발급된 subject ID |
{
"subject_name": "1110001_kim_yeonah",
"subject_id": "ABCDE01234",
"group_name": "happy_mart"
}
Subject Delete
- REQUEST (Subject Delete)
curl --request DELETE \
--url https://apis.openapi.sk.com/nugufacecan/v1/subject/sk-brand \
--header 'Accept: application/json' \
--header 'app-id: jasdfjsf-chsd' \
--header 'appKey: l7xxqgXsAcrXQ0zAlfeW0Tw2uv2nicekednb' \
--header 'group-id: kaksdj-sjks28-cu9sj9-jsksdfu8'
- RESPONSE (Subject Delete)
Status Code | Description |
---|---|
200 | Subject(사람) 삭제 성공 |
400 | Subject(사람) 삭제 실패 |