Method Response Body
- Print
- PDF
Method Response Body
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Save method response body
URL
POST https://apigateway.apigw.ntruss.com/api/v1/products/{product-id}/apis/{api-id}/resources/{resource-id}/methods/{method-name}/responses/{status-code}/response-body
Request Parameter
Name | Position | Required | Type | Description |
---|---|---|---|---|
productId | path | Y | String | Product Id Length(Min/Max): 0/10 |
apiId | path | Y | String | Api Id Length(Min/Max): 0/10 |
resourceId | path | Y | String | Resource Id Length(Min/Max): 0/10 |
methodName | path | Y | String | Method Code Allowable values: ANY, GET, POST, PUT, DELETE, PATCH, OPTIONS, HEAD |
statusCode | path | Y | Integer | Status Code |
Request Body
{
"bodyName" : "bodyName",
"modelId" : "modelId",
"bodyDescription" : "bodyDescription"
}
Response Code
- 201
Response Body
{
"modelName" : "modelName",
"bodyName" : "bodyName",
"modelId" : "modelId",
"bodyDescription" : "bodyDescription"
}
Delete method response body
URL
DELETE https://apigateway.apigw.ntruss.com/api/v1/products/{product-id}/apis/{api-id}/resources/{resource-id}/methods/{method-name}/responses/{status-code}/response-body
Request Parameter
Name | Position | Required | Type | Description |
---|---|---|---|---|
productId | path | Y | String | Product Id Length(Min/Max): 0/10 |
apiId | path | Y | String | Api Id Length(Min/Max): 0/10 |
resourceId | path | Y | String | Resource Id Length(Min/Max): 0/10 |
methodName | path | Y | String | Method Code Allowable values: ANY, GET, POST, PUT, DELETE, PATCH, OPTIONS, HEAD |
statusCode | path | Y | Integer | Status Code |
Request Body
- None
Response Code
- 204
Response Body
- None
Get method response body
URL
GET https://apigateway.apigw.ntruss.com/api/v1/products/{product-id}/apis/{api-id}/resources/{resource-id}/methods/{method-name}/responses/{status-code}/response-body
Request Parameter
Name | Position | Required | Type | Description |
---|---|---|---|---|
productId | path | Y | String | Product Id Length(Min/Max): 0/10 |
apiId | path | Y | String | Api Id Length(Min/Max): 0/10 |
resourceId | path | Y | String | Resource Id Length(Min/Max): 0/10 |
methodName | path | Y | String | Method Code Allowable values: ANY, GET, POST, PUT, DELETE, PATCH, OPTIONS, HEAD |
statusCode | path | Y | Integer | Status Code |
Request Body
- None
Response Code
- 200
Response Body
{
"modelName" : "modelName",
"bodyName" : "bodyName",
"modelId" : "modelId",
"bodyDescription" : "bodyDescription"
}
Was this article helpful?