μ½λ | μλ―Έ | μ¬μ© λͺ©μ |
---|---|---|
200 | OK | μμ²μ μ±κ³΅μ μΌλ‘ μ²λ¦¬ |
201 | Created | μλ‘μ΄ λ¦¬μμ€ μ±κ³΅μ μΌλ‘ μμ± μ²λ¦¬ |
400 | Bad Request | μλͺ»λ μμ²μΌλ‘ μΈν΄ μλ²μμ μμ²μ μ΄ν΄ν μ μμ |
409 | Conflict | μμ² μ 보λ μ μμ μ΄μ§λ§ λ΄λΆ μ μ± μ μν΄ μ€ν¨ |
422 | Unprocessable Entity | μμ² μ 보λ μ μμ μ΄μ§λ§ λ΄λΆ μ μ± μ μν΄ μ€ν¨, λ³κ²½ ν μ¬μλ |
500 | Internal Server Error | μλ² μλ¬ |
μλ¬μ½λ | μλ¬ μ€λͺ |
---|---|
5001 | λ°μ΄ν° μ‘°ν μλ¬ |
5100 | μμ² λ°μ΄ν° μλ¬ |
1100 | μ£Όμ μ μ± μλ¬ |
1200 | ν°μΌ μ μ± μλ¬ |
DATETIME object
νλΌλ―Έν° μ΄λ¦ | νμ μ¬λΆ | λ°μ΄ν° νμ | μ€λͺ |
---|---|---|---|
year | νμ | number | μ°λ (μμ²λ μ§ κΈ°μ€ +1λ κΉμ§ μ λ ₯ νμ©) |
month | νμ | DATETIME object | μ (1-12 μ λ ₯ νμ©) |
day | νμ | DATETIME object | μΌ (1-μμ²monthμ λ²μ μκΉμ§ μ λ ₯ νμ©) |
hour | νμ | DATETIME object | μ (0-23κΉμ§ μ λ ₯ νμ©) |
minute | νμ | DATETIME object | λΆ (0-59κΉμ§ μ λ ₯ νμ©) |
Content-Type: application-json
BODY
νλΌλ―Έν° μ΄λ¦ | νμ μ¬λΆ | λ°μ΄ν° νμ | μ€λͺ |
---|---|---|---|
limitedQuantityOf | νμ | number | ν°μΌ μλ |
openDateTime | νμ | DATETIME object | μμ½ μ€ν μκ° |
deadlineDateTime | νμ | DATETIME object | μμ½ λ§κ° μκ° |
{
"limitedQuantityOf": 5,
"openDateTime": {
"year": 2023,
"month": 11,
"day": 12,
"hour": 15,
"minute": 30
},
"deadlineDateTime": {
"year": 2024,
"month": 10,
"day": 12,
"hour": 15,
"minute": 30
}
}
RESPONSE
HTTP μλ΅ μ½λ | μ€λͺ |
---|---|
201 | λ±λ‘ μ±κ³΅ |
400 | μ μ μλ μμ² |
409 | μ μ± μλ¬ |
500 | μλ² μλ¬ |
Content-Type: application-json
BODY
νλΌλ―Έν° μ΄λ¦ | νμ μ¬λΆ | λ°μ΄ν° νμ | μ€λͺ |
---|---|---|---|
clientId | νμ | string | λμ |
{
"clientId": "{μ¬μ©μID}"
}
RESPONSE
HTTP μλ΅ μ½λ | μ€λͺ |
---|---|
201 | λ±λ‘ μ±κ³΅ |
400 | μ μ μλ μμ² |
409 | μ μ± μλ¬ |
500 | μλ² μλ¬ |