Schemas
Record schema shows the details of records used in the Get Record, Add Record, and Update Record operations.
<?xml version="1.0" encoding="UTF-8"?> <root> <record> <schema type> : </record> </root>
In this connector, schema type (element in record element) differs depending on Field type.
The schema type for each Field type is as follows:
Field type |
Schema type |
---|---|
Record number |
|
Record ID |
|
Creator |
|
Modifier |
|
Created time |
|
Updated time |
|
Numeric value |
|
Calculation |
|
Rich text |
|
Radio button |
|
Multiple selection |
|
Date |
|
Date and Time |
|
Link |
|
String (one line) |
|
String (multiple lines) |
|
Check box |
|
Drop-down |
|
Attachment |
|
Time |
|
User selection |
|
Department selection |
|
Group selection |
|
Look-up |
Schema type supported in the target field |
Subtable |
|
Table Row ID |
|
Category |
|
Status |
|
Operator |
<value comment=""/>
Element name |
Attribute name |
Description |
Remarks |
---|---|---|---|
value |
- |
Represents value of value type. |
|
<user comment="" name="">
Element name |
Attribute name |
Description |
Remarks |
---|---|---|---|
user |
- |
Represents value of user type. |
|
- |
name |
Represents user name. |
|
<array comment=""> <value/> </array>
Element name |
Attribute name |
Description |
Remarks |
---|---|---|---|
array |
- |
Represents array of Array type. |
|
value |
- |
Represents element value in the array. |
|
<array comment=""> <user name=""/> </array>
Element name |
Attribute name |
Description |
Remarks |
---|---|---|---|
array |
- |
Represents array of Array type. |
|
user |
- |
Represents value of user type. |
|
- |
name |
Represents user name. |
|
<array comment=""> <organization name=""/> </array>
Element name |
Attribute name |
Description |
Remarks |
---|---|---|---|
array |
- |
Represents array of Array type. |
|
organization |
- |
Represents value of department type. |
|
- |
name |
Represents department name. |
|
<array comment=""> <group name=""/> </array>
Element name |
Attribute name |
Description |
Remarks |
---|---|---|---|
array |
- |
Represents array of Array type. |
|
group |
- |
Represents value of group type. |
|
- |
name |
Represents group name. |
|
<-- When Output destination of attachment or Input source of attachment is Data (Base64)-- > <array comment=""> <file name="" size="" contentType=""> <content/> </file> </array> <-- When Output destination of attachment or Input source of attachment is File --> <array comment=""> <file name="" size="" contentType=""> <path/> </file> </array>
Element name |
Attribute name |
Description |
Remarks |
---|---|---|---|
array |
- |
Represents array of Array type. |
|
file |
- |
Represents value of file type. |
|
- |
name |
Represents the file name. |
|
- |
size |
Represents the file size. |
|
- |
contentType |
Represents content type of the file. |
|
content |
- |
Represents the contents of attachment. |
|
path |
- |
Represents the path of output destination or input source of the attachment. |
|
<subTable comment=""> <record> : </record> </subTable>
Element name |
Attribute name |
Description |
Remarks |
---|---|---|---|
subTable |
- |
Represents subtable. |
|
record |
- |
Represents subtable record. |
|
API schema shows input and output parameters of API used in the Call API operation.
For more details, refer to Kintone REST API of API Docs (https://developer.kintone.io/hc/en-us/articles/212495178).
<?xml version="1.0" encoding="UTF-8"?> <root> <schema body> : </root>
API parameters are displayed through mutual conversion of schema body (elements under root element) between JSON and XML.
Object type, array type, and string type of JSON format type are in the following formats.
<JSON member name/>
Element name |
Attribute name |
Description |
Remarks |
---|---|---|---|
JSON member name |
- |
Represents JSON object type. |
|
<JSON member name comment="array"/>
Element name |
Attribute name |
Description |
Remarks |
---|---|---|---|
JSON member name |
- |
Represents JSON array type. |
|
- |
comment |
Represents array type when the value is array. |
|
element |
- |
Represents array element. |
|
<JSON member name comment="attribute value that represents format">
Element name |
Attribute name |
Description |
Remarks |
---|---|---|---|
JSON member name |
- |
Represents JSON array type. |
|
- |
comment |
Attribute value that represents format |
For more details on format, refer to the Kintone API specifications "Get API Schema" (https://developer.kintone.io/hc/en-us/articles/115006107628). |