Question / Problem
How do I fetch kintone field code value to another field code application using Get Rest API?
Current Situation
I’m still finding some resources
Code Attempts
kintone REST API Requests - App Records
@domain = jcmgm-ph.kintone.com
@appId = 66
@apiToken1 = pF3Rj7ItPiLoLE13mX38TaI5GuqctjByAU6Ek5jS
@apiToken2 = P6cNghpfIjnRO3PS06g4K5fjuMUojS1RBCabrklt
@userCode = Administrator
GET/records
GET https://{{domain}}/k/v1/records.json?app={{appId}}
X-Cybozu-API-Token: {{apiToken1}}
POST/records
POST https://{{domain}}/k/v1/records.json X-Cybozu-API-Token: {{apiToken1}}, {{apiToken2}} Content-Type: application/json
{ “app”: {{appId}}, “records”: [ { “Company_Name_Search”: { “value”: “Kintone” }, “Deal_Name”: { “value”: “Kintone app creation” }, “Rep”: { “value”: [{“code”: “{{userCode}}”}] } }, { “Company_Name_Search”: { “value”: “Cybozu” }, “Deal_Name”: { “value”: “Kintone JavaScript customization” }, “Rep”: { “value”: [{“code”: “{{userCode}}”}] } } ] }
DELETE/records
DELETE https://{{domain}}/k/v1/records.json?app={{appId}}&ids[0]=1 X-Cybozu-API-Token: {{apiToken1}}
POST/file
POST https://{{domain}}/k/v1/file.json X-Cybozu-API-Token: {{apiToken1}} Content-Type: multipart/form-data; boundary=----20111107kintone20111107cybozucom
------20111107kintone20111107cybozucom Content-Disposition: form-data; name=“file”; filename=“kintone.jpg” Content-Type: image/jpeg
< ./kintone.jpg ------20111107kintone20111107cybozucom–
PUT/record for updating file
PUT https://{{domain}}/k/v1/record.json X-Cybozu-API-Token: {{apiToken1}} Content-Type: application/json
{ “app”: {{appId}}, “id”: “1”, “record”: { “Attachment”: { “value”: [{ “fileKey”: “your_file_key” }] } } }
Error Message
No error message
Desired outcome / Expected Behavior
I want to copy the street address value:
To this street address field code:
Reference Resources