Last active
December 9, 2019 11:45
-
-
Save sugimomoto/d4b9dbee5955767166ef2d55adbb6212 to your computer and use it in GitHub Desktop.
kintone customer API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#%RAML 1.0 | |
title: Sample Customer API | |
version: v1.0 | |
baseUri: http://samplecustomer.us-w1.cloudhub.io/api | |
securitySchemes: | |
basic: | |
description: | | |
This API supports Basic Authentication. | |
type: Basic Authentication | |
securedBy: [basic] | |
types: | |
customer: | |
properties: | |
customerId: integer | |
companyName: string | |
customerFullName: string | |
address: string | |
email: string | |
/customers: | |
/{customerId}: | |
uriParameters: | |
customerId: string | |
get: | |
responses: | |
200: | |
body: | |
application/json: | |
type: customer | |
example: | | |
{ | |
"customerId" : 1, | |
"companyName" : "HogehogeCompany", | |
"customerFullName" : "Kazuya Sugimoto", | |
"address" : "XXX-XXXX", | |
"email" : "hogehoge@hoge.com" | |
} | |
404: | |
body: | |
application/json: | |
properties: | |
message: string | |
example: | | |
{ | |
"message" : "Customer not found" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment