要求/応答のサンプル- XMLとJSON
以下は、例としてUserオブジェクトを使用した、JSONとXMLの要求と応答の例です。回答は長くなる可能性があるため、以下の内容テーブルを使用して目的のセクションにスキップします。
ユーザーリスト
uRL : http://dashmaster17-0.coupadev.com/api/users?limit=2
方法:取得
JSONレスポンス
[
{" id ":771,
"created - at ":"2016 -11 -08 T 11:28:50 + 02:00 ",
"updated - at ":"2016 -11 -09 T 16:35:40 + 02:00 ",
"login ":" testuser 1 ",
"email ":" adf@gmail.com ",
"purchasing - user ": true,
"expense - user ": false,
"sourcing - user ": false,
"inventory - user ": false,
"employee - number ":"従業員番号",
"firstname ":"テキスト",
"lastname ":" abc ",
"fullname ":"テキストabc ",
"api - user ": false,
"active ": true,
"salesforce - id ": null,
"account - security - type ":0,
"authentication - method ":" coupa_credentials ",
"sso - identifier ":"899 ",
"default - locale ":" ja ",
"business - group - security - type ":1,
"edit - invoice - on - quick - entry ": false,
"avatar - thumb - url ": null,
"mention - name ":" text 12 ",
"gpo - entity ": "",
"radio - button - test ": null,
"SUBSIDARY ":"補助的",
"FUNCTION ":"機能",
"seg 3 default ": "",
"phone - work ": null,
"phone - mobile ": null,
"roles ": [
{" id ":2,
"created - at ":"2011 -08 -05 T 19:46:31 + 03:00 ",
"updated - at ":"2011 -08 -05 T 19:46:31 + 03:00 ",
"NAME ":"管理者",
"DESCRIPTION ":"アプリケーションの設定と保全のためのフルシステムアクセス",
"omnipotent ": true,
"system - role ": true,
"updated - by ": {" id ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 16:01:34 + 02:00 ",
"updated - at ":"2016 -10 -28 T 11:14:12 + 03:00"
},
"created - by ": null
},
{" id ":3,
"created - at ":"2011 -08 -05 T 19:46:31 + 03:00 ",
"updated - at ":"2011 -08 -05 T 19:46:31 + 03:00 ",
"name ":"ユーザー",
"description ":"申請書の作成・承認が必要なすべてのユーザーのための標準的な役割",
"omnipotent ": false,
"system - role ": true,
"updated - by ": {" id ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 16:01:34 + 02:00 ",
"updated - at ":"2016 -10 -28 T 11:14:12 + 03:00"
},
"created - by ": null
} ],
"manager ": {" id ":629,
"login ":" gunab ",
"FIRSTNAME ":"グナブ",
"lastname ":"バイヤー",
"employee - number ":"従業員番号",
"email ":" catestit8@gmail.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2016 -11 -01 T 17:07:03 + 02:00 ",
"updated - at ":"2016 -11 -09 T 09:40:36 + 02:00"
},
"default - address ": null,
"default - account ": null,
"default - account - type ": null,
"default - currency ": {" id ":1,
"コード":"USD ",
"decimals ":2,
"updated - by ": {" id ":80,
"login ":" learnapi ",
"firstname ":"API ",
"lastname ":"API ",
"employee - number ": null,
"email ":" learnapi@learnapi.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2013 -05 -16 T 01:05:17 + 03:00 ",
"updated - at ":"2016 -03 -30 T 12:35:20 + 03:00"
} },
"pcard ": null,
"department ": null,
"requisition - approval - limit ": {" id ":35,
"created - at ":"2016 -04 -01 T 09:08:38 + 03:00 ",
"updated - at ":"2016 -04 -01 T 09:08:38 + 03:00 ",
"name ":"0.00 AED ",
"AMOUNT ":"0.00 ",
"subject ":" requisition_header ",
"currency ": {" id ":156,
"コード":"AED ",
"decimals ":2,
"updated - by ": null
},
"created - by ": {" id ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 16:01:34 + 02:00 ",
"updated - at ":"2016 -10 -28 T 11:14:12 + 03:00"
},
"updated - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 16:01:34 + 02:00 ",
"updated - at ":"2016 -10 -28 T 11:14:12 + 03:00"
}
},
"expense - approval - limit ": {
"ID ":36,
"created - at ":"2016 -04 -01 T 09:08:38 + 03:00 ",
"updated - at ":"2016 -04 -01 T 09:08:38 + 03:00 ",
"NAME ":"0.00 AED (2 )",
"AMOUNT ":"0.00 ",
"subject ":" expense_report ",
"currency ": {
"ID ":156,
"コード":"AED ",
"decimals ":2,
"updated - by ": null
},
"created - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 16:01:34 + 02:00 ",
"updated - at ":"2016 -10 -28 T 11:14:12 + 03:00"
},
"updated - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 16:01:34 + 02:00 ",
"updated - at ":"2016 -10 -28 T 11:14:12 + 03:00"
}
},
"invoice - approval - limit ": {
"ID ":37,
"created - at ":"2016 -04 -01 T 09:08:38 + 03:00 ",
"updated - at ":"2016 -04 -01 T 09:08:38 + 03:00 ",
"name ":"0.00 AED (3 )",
"AMOUNT ":"0.00 ",
"subject ":" invoice_header ",
"currency ": {
"ID ":156,
"code ":"AED ",
"decimals ":2,
"updated - by ": null
},
"created - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 16:01:34 + 02:00 ",
"updated - at ":"2016 -10 -28 T 11:14:12 + 03:00"
},
"updated - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 16:01:34 + 02:00 ",
"updated - at ":"2016 -10 -28 T 11:14:12 + 03:00"
}
},
"requisition - self - approval - limit ": {
"ID ":35,
"created - at ":"2016 -04 -01 T 09:08:38 + 03:00 ",
"updated - at ":"2016 -04 -01 T 09:08:38 + 03:00 ",
"NAME ":"0.00 AED ",
"AMOUNT ":"0.00 ",
"subject ":" requisition_header ",
"currency ": {
"ID ":156,
"コード":"AED ",
"decimals ":2,
"updated - by ": null
},
"created - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 16:01:34 + 02:00 ",
"updated - at ":"2016 -10 -28 T 11:14:12 + 03:00"
},
"updated - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 16:01:34 + 02:00 ",
"updated - at ":"2016 -10 -28 T 11:14:12 + 03:00"
}
},
"expense - self - approval - limit ": {
"ID ":36,
"created - at ":"2016 -04 -01 T 09:08:38 + 03:00 ",
"updated - at ":"2016 -04 -01 T 09:08:38 + 03:00 ",
"NAME ":"0.00 AED (2 )",
"amount ":"0.00 ",
"subject ":" expense_report ",
"currency ": {
"ID ":156,
"コード":"AED ",
"decimals ":2,
"updated - by ": null
},
"created - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 16:01:34 + 02:00 ",
"updated - at ":"2016 -10 -28 T 11:14:12 + 03:00"
},
"updated - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 16:01:34 + 02:00 ",
"updated - at ":"2016 -10 -28 T 11:14:12 + 03:00"
}
},
"expenses - delegated - to ": [],
"can - expenses - for ": [],
"content - groups ": [],
"account - groups ": [],
"approval - groups ": [],
"working -warehouses ": [],
"inventory - organizations ": [],
"created - by ": {
"ID ":2 2 4、
"login ":" sneha.latha@coupa.com ",
"firstname ":"スネハ",
"lastname ":"レイサ",
"employee - number ": null,
"email ":" sneha.latha@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2016 -10 -12 T 09:20:37 + 03:00 ",
"updated - at ":"2016 -11 -14 T 09:21:00 + 02:00"
},
"updated - by ": {
"ID ":2 2 8、
"login ":" kuppusamy.sekaran@coupa.com ",
"firstname ":"Kuppusamy ",
"lastname ":"セカラン",
"employee - number ": null,
"email ":" kuppusamy.sekaran@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2016 -10 -12 T 11:42:59 + 03:00 ",
"updated - at ":"2016 -11 -14 T 10:59:24 + 02:00"
},
"custom - field -8 ": null,
"custom - field -7 ": null,
"username 1 ": null
},
{
"ID ":8 0 8、
"created - at ":"2016 -11 -10 T 02:55:30 + 02:00 ",
"updated - at ":"2016 -11 -11 T 00:52:43 + 02:00 ",
"login ":" pfiuser 1 ",
"email ":" aditya+r17-pfiuser@coupa.com ",
"purchasing - user ": true,
"expense - user ": false,
"sourcing - user ": false,
"inventory - user ": false,
"employee - number ":"従業員番号",
"firstname ":"PFI ",
"lastname ":"ユーザー",
"fullname ":"PFIユーザー",
"api - user ": false,
"active ": true,
"salesforce - id ": null,
"account - security - type ":0,
"authentication - method ":" coupa_credentials ",
"sso - identifier ":" pfiuser 1 ",
"default - locale ":" ja ",
"business - group - security - type ":0,
"edit - invoice - on - quick - entry ": false,
"avatar - thumb - url ": null,
"mention - name ":" pfiuser ",
"gpo - entity ": "",
"radio - button - test ": null,
"SUBSIDARY ":"補助的",
"FUNCTION ":"機能",
"seg 3 default ": "",
"phone - work ": null,
"phone - mobile ": null,
"roles ": [
{
"ID ":3,
"created - at ":"2011 -08 -05 T 19:46:31 + 03:00 ",
"updated - at ":"2011 -08 -05 T 19:46:31 + 03:00 ",
"name ":"ユーザー",
"description ":"申請書の作成・承認が必要なすべてのユーザーのための標準的な役割",
"omnipotent ": false,
"system - role ": true,
"updated - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 16:01:34 + 02:00 ",
"updated - at ":"2016 -10 -28 T 11:14:12 + 03:00"
},
"created - by ": null
},
{
"ID ":10153、
"created - at ":"2016 -11 -11 T 00:52:22 + 02:00 ",
"updated - at ":"2016 -11 -11 T 00:52:22 + 02:00 ",
"NAME ":"分析のみ",
"description ":"説明",
"omnipotent ": false,
"system - role ": false,
"updated - by ": {
"ID ":475,
"login ":" justin.mehta@coupa.com ",
"firstname ":"ジャスティン",
"lastname ":"Mehta ",
"employee - number ": null,
"email ":" justin.mehta@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2016 -10 -20 T 20:55:27 + 03:00 ",
"updated - at ":"2016 -11 -14 T 09:56:55 + 02:00"
},
"created - by ": {
"ID ":475,
"login ":" justin.mehta@coupa.com ",
"firstname ":"ジャスティン",
"lastname ":"Mehta ",
"employee - number ": null,
"email ":" justin.mehta@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2016 -10 -20 T 20:55:27 + 03:00 ",
"updated - at ":"2016 -11 -14 T 09:56:55 + 02:00"
}
}
],
"manager ": null,
"default - address ": null,
"default - account ": null,
"default - account - type ": null,
"default - currency ": {
"ID ":156,
"コード":"AED ",
"decimals ":2,
"updated - by ": null
},
"pcard ": null,
"department ": null,
"requisition - approval - limit ": {
"ID ":35,
"created - at ":"2016 -04 -01 T 09:08:38 + 03:00 ",
"updated - at ":"2016 -04 -01 T 09:08:38 + 03:00 ",
"NAME ":"0.00 AED ",
"amount ":"0.00 ",
"subject ":" requisition_header ",
"currency ": {
"ID ":156,
"コード":"AED ",
"decimals ":2,
"updated - by ": null
},
"created - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 16:01:34 + 02:00 ",
"updated - at ":"2016 -10 -28 T 11:14:12 + 03:00"
},
"updated - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 16:01:34 + 02:00 ",
"updated - at ":"2016 -10 -28 T 11:14:12 + 03:00"
}
},
"expense - approval - limit ": {
"ID ":36,
"created - at ":"2016 -04 -01 T 09:08:38 + 03:00 ",
"updated - at ":"2016 -04 -01 T 09:08:38 + 03:00 ",
"name ":"0.00 AED (2 )",
"amount ":"0.00 ",
"subject ":" expense_report ",
"currency ": {
"ID ":156,
"コード":"AED ",
"decimals ":2,
"updated - by ": null
},
"created - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 16:01:34 + 02:00 ",
"updated - at ":"2016 -10 -28 T 11:14:12 + 03:00"
},
"updated - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 16:01:34 + 02:00 ",
"updated - at ":"2016 -10 -28 T 11:14:12 + 03:00"
}
},
"invoice - approval - limit ": {
"ID ":37,
"created - at ":"2016 -04 -01 T 09:08:38 + 03:00 ",
"updated - at ":"2016 -04 -01 T 09:08:38 + 03:00 ",
"name ":"0.00 AED (3 )",
"AMOUNT ":"0.00 ",
"subject ":" invoice_header ",
"currency ": {
"ID ":156,
"code ":"AED ",
"decimals ":2,
"updated - by ": null
},
"created - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 16:01:34 + 02:00 ",
"updated - at ":"2016 -10 -28 T 11:14:12 + 03:00"
},
"updated - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 16:01:34 + 02:00 ",
"updated - at ":"2016 -10 -28 T 11:14:12 + 03:00"
}
},
"requisition - self - approval - limit ": {
"ID ":35,
"created - at ":"2016 -04 -01 T 09:08:38 + 03:00 ",
"updated - at ":"2016 -04 -01 T 09:08:38 + 03:00 ",
"name ":"0.00 AED ",
"AMOUNT ":"0.00 ",
"subject ":" requisition_header ",
"currency ": {
"ID ":156,
"コード":"AED ",
"decimals ":2,
"updated - by ": null
},
"created - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 16:01:34 + 02:00 ",
"updated - at ":"2016 -10 -28 T 11:14:12 + 03:00"
},
"updated - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 16:01:34 + 02:00 ",
"updated - at ":"2016 -10 -28 T 11:14:12 + 03:00"
}
},
"expense - self - approval - limit ": {
"ID ":36,
"created - at ":"2016 -04 -01 T 09:08:38 + 03:00 ",
"updated - at ":"2016 -04 -01 T 09:08:38 + 03:00 ",
"name ":"0.00 AED (2 )",
"AMOUNT ":"0.00 ",
"subject ":" expense_report ",
"currency ": {
"ID ":156,
"コード":"AED ",
"decimals ":2,
"updated - by ": null
},
"created - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 16:01:34 + 02:00 ",
"updated - at ":"2016 -10 -28 T 11:14:12 + 03:00"
},
"updated - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 16:01:34 + 02:00 ",
"updated - at ":"2016 -10 -28 T 11:14:12 + 03:00"
}
},
"expenses - delegated - to ": [],
"can - expenses - for ": [],
"content - groups ": [],
"account - groups ": [],
"approval - groups ": [],
"working -warehouses ": [],
"inventory - organizations ": [],
"created - by ": {
"ID ":390,
"login ":" aditya.mandavilli@coupa.com ",
"firstname ":"Aditya ",
"lastname ":"Mandavilli ",
"employee - number ": null,
"email ":" aditya.mandavilli@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2016 -10 -17 T 20:24:54 + 03:00 ",
"updated - at ":"2016 -11 -14 T 01:40:08 + 02:00"
},
"updated - by ": {
"ID ":475,
"login ":" justin.mehta@coupa.com ",
"firstname ":"ジャスティン",
"lastname ":"Mehta ",
"employee - number ": null,
"email ":" justin.mehta@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2016 -10 -20 T 20:55:27 + 03:00 ",
"updated - at ":"2016 -11 -14 T 09:56:55 + 02:00"
},
"custom - field -8 ": null,
"custom - field -7 ": null,
"username 1 ": null
}
]
XML応答
<?xml version="1.0" encoding="UTF-8"?><users type="array">
<user>
<id type="integer">771</id>
2016 <created-at type="dateTime">-11 -08 T 11:28:50 + 02:00</created-at>
<updated-at type="dateTime">2016 -11 -09 T 16:35:40 + 02:00</updated-at>
<login>testuser 1</login>
<email>adf@gmail.com</email>
<purchasing-user type="boolean">true</purchasing-user>
<expense-user type="boolean">偽</expense-user>
<sourcing-user type="boolean">偽</sourcing-user>
<inventory-user type="boolean">偽</inventory-user>
<employee-number />
<firstname>テキスト</firstname>
<lastname>abc</lastname>
<fullname>テキストabc</fullname>
<api-user type="boolean">偽</api-user>
<active type="boolean">true</active>
<salesforce-id nil="true" />
<account-security-type type="integer">0</account-security-type>
<authentication-method type="symbol">coupa_credentials</authentication-method>
<sso-identifier>899</sso-identifier>
<default-locale>ja</default-locale>
<business-group-security-type type="integer">1</business-group-security-type>
<edit-invoice-on-quick-entry type="boolean">偽</edit-invoice-on-quick-entry>
<avatar-thumb-url nil="true" />
text <mention-name>12</mention-name>
<custom-field-8 />
<custom-field-7 />
<gpo-entity />
<radio-button-test />
<subsidary />
<function />
<seg3default />
<username1 />
<roles type="array">
<role>
<id type="integer">2</id>
2011 <created-at type="dateTime">-08 -05 T 19:46:31 + 03:00</created-at>
2011 <updated-at type="dateTime">-08 -05 T 19:46:31 + 03:00</updated-at>
<name>管理者</name>
アプリケーション<description>の設定と保全のためのフルシステムアクセス</description>
<omnipotent type="boolean">true</omnipotent>
<system-role type="boolean">true</system-role>
<updated-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number />
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true" />
<avatar-thumb-url nil="true" />
<custom-field-8 />
<custom-field-7 />
<gpo-entity />
<radio-button-test />
<subsidary />
<function />
<seg3default />
<username1 />
</updated-by>
</role>
<role>
<id type="integer">3</id>
2011 <created-at type="dateTime">-08 -05 T 19:46:31 + 03:00</created-at>
2011 <updated-at type="dateTime">-08 -05 T 19:46:31 + 03:00</updated-at>
<name>ユーザー</name>
申請書を作成・承認する必要のあるすべてのユーザーの<description>標準ロール</description>
<omnipotent type="boolean">偽</omnipotent>
<system-role type="boolean">true</system-role>
<updated-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number />
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true" />
<avatar-thumb-url nil="true" />
<custom-field-8 />
<custom-field-7 />
<gpo-entity />
<radio-button-test />
<subsidary />
<function />
<seg3default />
<username1 />
</updated-by>
</role>
</roles>
<manager>
<id type="integer">629</id>
<login>グナブ</login>
<email>catestit8@gmail.com</email>
<employee-number />
<firstname>グナブ</firstname>
<lastname>購入者</lastname>
<salesforce-id nil="true" />
<avatar-thumb-url nil="true" />
<custom-field-8 />
<custom-field-7 />
<gpo-entity />
<radio-button-test />
<subsidary />
<function />
<seg3default />
<username1 />
</manager>
<default-currency>
<id type="integer">1</id>
<code>USD</code>
<decimals type="integer">2</decimals>
<updated-by>
<id type="integer">80</id>
<login>learnapi</login>
<email>learnapi@learnapi.com</email>
<employee-number nil="true" />
<firstname>API</firstname>
<lastname>API</lastname>
<salesforce-id nil="true" />
<avatar-thumb-url nil="true" />
<custom-field-8 />
<custom-field-7 />
<gpo-entity />
<radio-button-test />
<subsidary />
<function />
<seg3default />
<username1 />
</updated-by>
</default-currency>
<requisition-approval-limit>
<id type="integer">35</id>
2016 <created-at type="dateTime">-04 -01 T 09:08:38 + 03:00</created-at>
2016 <updated-at type="dateTime">-04 -01 T 09:08:38 + 03:00</updated-at>
<name>0.00 AED</name>
<amount type="decimal">0.00</amount>
<subject>申請書ヘッダー</subject>
<currency>
<id type="integer">156</id>
<code>AED</code>
<decimals type="integer">2</decimals>
</currency>
<created-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number />
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true" />
<avatar-thumb-url nil="true" />
<custom-field-8 />
<custom-field-7 />
<gpo-entity />
<radio-button-test />
<subsidary />
<function />
<seg3default />
<username1 />
</created-by>
<updated-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number />
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true" />
<avatar-thumb-url nil="true" />
<custom-field-8 />
<custom-field-7 />
<gpo-entity />
<radio-button-test />
<subsidary />
<function />
<seg3default />
<username1 />
</updated-by>
</requisition-approval-limit>
<expense-approval-limit>
<id type="integer">36</id>
2016 <created-at type="dateTime">-04 -01 T 09:08:38 + 03:00</created-at>
2016 <updated-at type="dateTime">-04 -01 T 09:08:38 + 03:00</updated-at>
<name>0.00 AED (2)</name>
<amount type="decimal">0.00</amount>
<subject>expense_report</subject>
<currency>
<id type="integer">156</id>
<code>AED</code>
<decimals type="integer">2</decimals>
</currency>
<created-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number />
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true" />
<avatar-thumb-url nil="true" />
<custom-field-8 />
<custom-field-7 />
<gpo-entity />
<radio-button-test />
<subsidary />
<function />
<seg3default />
<username1 />
</created-by>
<updated-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number />
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true" />
<avatar-thumb-url nil="true" />
<custom-field-8 />
<custom-field-7 />
<gpo-entity />
<radio-button-test />
<subsidary />
<function />
<seg3default />
<username1 />
</updated-by>
</expense-approval-limit>
<invoice-approval-limit>
<id type="integer">37</id>
2016 <created-at type="dateTime">-04 -01 T 09:08:38 + 03:00</created-at>
2016 <updated-at type="dateTime">-04 -01 T 09:08:38 + 03:00</updated-at>
<name>0.00 AED (3)</name>
<amount type="decimal">0.00</amount>
<subject>invoice_header</subject>
<currency>
<id type="integer">156</id>
<code>AED</code>
<decimals type="integer">2</decimals>
</currency>
<created-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number />
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true" />
<avatar-thumb-url nil="true" />
<custom-field-8 />
<custom-field-7 />
<gpo-entity />
<radio-button-test />
<subsidary />
<function />
<seg3default />
<username1 />
</created-by>
<updated-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number />
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true" />
<avatar-thumb-url nil="true" />
<custom-field-8 />
<custom-field-7 />
<gpo-entity />
<radio-button-test />
<subsidary />
<function />
<seg3default />
<username1 />
</updated-by>
</invoice-approval-limit>
<requisition-self-approval-limit>
<id type="integer">35</id>
2016 <created-at type="dateTime">-04 -01 T 09:08:38 + 03:00</created-at>
2016 <updated-at type="dateTime">-04 -01 T 09:08:38 + 03:00</updated-at>
<name>0.00 AED</name>
<amount type="decimal">0.00</amount>
<subject>申請書ヘッダー</subject>
<currency>
<id type="integer">156</id>
<code>AED</code>
<decimals type="integer">2</decimals>
</currency>
<created-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number />
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true" />
<avatar-thumb-url nil="true" />
<custom-field-8 />
<custom-field-7 />
<gpo-entity />
<radio-button-test />
<subsidary />
<function />
<seg3default />
<username1 />
</created-by>
<updated-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number />
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true" />
<avatar-thumb-url nil="true" />
<custom-field-8 />
<custom-field-7 />
<gpo-entity />
<radio-button-test />
<subsidary />
<function />
<seg3default />
<username1 />
</updated-by>
</requisition-self-approval-limit>
<expense-self-approval-limit>
<id type="integer">36</id>
2016 <created-at type="dateTime">-04 -01 T 09:08:38 + 03:00</created-at>
2016 <updated-at type="dateTime">-04 -01 T 09:08:38 + 03:00</updated-at>
<name>0.00 AED (2)</name>
<amount type="decimal">0.00</amount>
<subject>expense_report</subject>
<currency>
<id type="integer">156</id>
<code>AED</code>
<decimals type="integer">2</decimals>
</currency>
<created-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number />
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true" />
<avatar-thumb-url nil="true" />
<custom-field-8 />
<custom-field-7 />
<gpo-entity />
<radio-button-test />
<subsidary />
<function />
<seg3default />
<username1 />
</created-by>
<updated-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number />
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true" />
<avatar-thumb-url nil="true" />
<custom-field-8 />
<custom-field-7 />
<gpo-entity />
<radio-button-test />
<subsidary />
<function />
<seg3default />
<username1 />
</updated-by>
</expense-self-approval-limit>
<expenses-delegated-to type="array" />
<can-expense-for type="array" />
<content-groups type="array" />
<account-groups type="array" />
<approval-groups type="array" />
<working-warehouses type="array" />
<inventory-organizations type="array" />
<created-by>
<id type="integer">224</id>
<login>sneha.latha@coupa.com</login>
<email>sneha.latha@coupa.com</email>
<employee-number nil="true" />
<firstname>スネハ</firstname>
<lastname>ラサ</lastname>
<salesforce-id nil="true" />
<avatar-thumb-url nil="true" />
<custom-field-8 />
<custom-field-7 />
<gpo-entity />
<radio-button-test />
<subsidary />
<function />
<seg3default />
<username1 />
</created-by>
<updated-by>
<id type="integer">228</id>
<login>kuppusamy.sekaran@coupa.com</login>
<email>kuppusamy.sekaran@coupa.com</email>
<employee-number nil="true" />
<firstname>Kuppusamy</firstname>
<lastname>セカラン</lastname>
<salesforce-id nil="true" />
<avatar-thumb-url nil="true" />
<custom-field-8 />
<custom-field-7 />
<gpo-entity />
<radio-button-test />
<subsidary />
<function />
<seg3default />
<username1 />
</updated-by>
</user>
<user>
<id type="integer">808</id>
2016 <created-at type="dateTime">-11 -10 T 02:55:30 + 02:00</created-at>
2016 <updated-at type="dateTime">-11 -11 T 00:52:43 + 02:00</updated-at>
<login>pfiuser 1</login>
<email>aditya+r17-pfiuser@coupa.com</email>
<purchasing-user type="boolean">true</purchasing-user>
<expense-user type="boolean">偽</expense-user>
<sourcing-user type="boolean">偽</sourcing-user>
<inventory-user type="boolean">偽</inventory-user>
<employee-number />
<firstname>PFI</firstname>
<lastname>ユーザー</lastname>
<fullname>PFIユーザー</fullname>
<api-user type="boolean">偽</api-user>
<active type="boolean">true</active>
<salesforce-id nil="true" />
<account-security-type type="integer">0</account-security-type>
<authentication-method type="symbol">coupa_credentials</authentication-method>
<sso-identifier>pfiuser 1</sso-identifier>
<default-locale>ja</default-locale>
<business-group-security-type type="integer">0</business-group-security-type>
<edit-invoice-on-quick-entry type="boolean">偽</edit-invoice-on-quick-entry>
<avatar-thumb-url nil="true" />
<mention-name>pfiuser</mention-name>
<custom-field-8 />
<custom-field-7 />
<gpo-entity />
<radio-button-test />
<subsidary />
<function />
<seg3default />
<username1 />
<roles type="array">
<role>
<id type="integer">3</id>
2011 <created-at type="dateTime">-08 -05 T 19:46:31 + 03:00</created-at>
2011 <updated-at type="dateTime">-08 -05 T 19:46:31 + 03:00</updated-at>
<name>ユーザー</name>
申請書を作成・承認する必要のあるすべてのユーザーの<description>標準ロール</description>
<omnipotent type="boolean">偽</omnipotent>
<system-role type="boolean">true</system-role>
<updated-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number />
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true" />
<avatar-thumb-url nil="true" />
<custom-field-8 />
<custom-field-7 />
<gpo-entity />
<radio-button-test />
<subsidary />
<function />
<seg3default />
<username1 />
</updated-by>
</role>
<role>
<id type="integer">10153</id>
2016 <created-at type="dateTime">-11 -11 T 00:52:22 + 02:00</created-at>
2016 <updated-at type="dateTime">-11 -11 T 00:52:22 + 02:00</updated-at>
<name>Analyticsのみ</name>
<description />
<omnipotent type="boolean">偽</omnipotent>
<system-role type="boolean">偽</system-role>
<created-by>
<id type="integer">475</id>
<login>justin.mehta@coupa.com</login>
<email>justin.mehta@coupa.com</email>
<employee-number nil="true" />
<firstname>ジャスティン</firstname>
<lastname>メータ</lastname>
<salesforce-id nil="true" />
<avatar-thumb-url nil="true" />
<custom-field-8 />
<custom-field-7 />
<gpo-entity />
<radio-button-test />
<subsidary />
<function />
<seg3default />
<username1 />
</created-by>
<updated-by>
<id type="integer">475</id>
<login>justin.mehta@coupa.com</login>
<email>justin.mehta@coupa.com</email>
<employee-number nil="true" />
<firstname>ジャスティン</firstname>
<lastname>メータ</lastname>
<salesforce-id nil="true" />
<avatar-thumb-url nil="true" />
<custom-field-8 />
<custom-field-7 />
<gpo-entity />
<radio-button-test />
<subsidary />
<function />
<seg3default />
<username1 />
</updated-by>
</role>
</roles>
<default-currency>
<id type="integer">156</id>
<code>AED</code>
<decimals type="integer">2</decimals>
</default-currency>
<requisition-approval-limit>
<id type="integer">35</id>
2016 <created-at type="dateTime">-04 -01 T 09:08:38 + 03:00</created-at>
2016 <updated-at type="dateTime">-04 -01 T 09:08:38 + 03:00</updated-at>
<name>0.00 AED</name>
<amount type="decimal">0.00</amount>
<subject>申請書ヘッダー</subject>
<currency>
<id type="integer">156</id>
<code>AED</code>
<decimals type="integer">2</decimals>
</currency>
<created-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number />
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true" />
<avatar-thumb-url nil="true" />
<custom-field-8 />
<custom-field-7 />
<gpo-entity />
<radio-button-test />
<subsidary />
<function />
<seg3default />
<username1 />
</created-by>
<updated-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number />
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true" />
<avatar-thumb-url nil="true" />
<custom-field-8 />
<custom-field-7 />
<gpo-entity />
<radio-button-test />
<subsidary />
<function />
<seg3default />
<username1 />
</updated-by>
</requisition-approval-limit>
<expense-approval-limit>
<id type="integer">36</id>
2016 <created-at type="dateTime">-04 -01 T 09:08:38 + 03:00</created-at>
2016 <updated-at type="dateTime">-04 -01 T 09:08:38 + 03:00</updated-at>
<name>0.00 AED (2)</name>
<amount type="decimal">0.00</amount>
<subject>expense_report</subject>
<currency>
<id type="integer">156</id>
<code>AED</code>
<decimals type="integer">2</decimals>
</currency>
<created-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number />
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true" />
<avatar-thumb-url nil="true" />
<custom-field-8 />
<custom-field-7 />
<gpo-entity />
<radio-button-test />
<subsidary />
<function />
<seg3default />
<username1 />
</created-by>
<updated-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number />
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true" />
<avatar-thumb-url nil="true" />
<custom-field-8 />
<custom-field-7 />
<gpo-entity />
<radio-button-test />
<subsidary />
<function />
<seg3default />
<username1 />
</updated-by>
</expense-approval-limit>
<invoice-approval-limit>
<id type="integer">37</id>
2016 <created-at type="dateTime">-04 -01 T 09:08:38 + 03:00</created-at>
2016 <updated-at type="dateTime">-04 -01 T 09:08:38 + 03:00</updated-at>
<name>0.00 AED (3)</name>
<amount type="decimal">0.00</amount>
<subject>invoice_header</subject>
<currency>
<id type="integer">156</id>
<code>AED</code>
<decimals type="integer">2</decimals>
</currency>
<created-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number />
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true" />
<avatar-thumb-url nil="true" />
<custom-field-8 />
<custom-field-7 />
<gpo-entity />
<radio-button-test />
<subsidary />
<function />
<seg3default />
<username1 />
</created-by>
<updated-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number />
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true" />
<avatar-thumb-url nil="true" />
<custom-field-8 />
<custom-field-7 />
<gpo-entity />
<radio-button-test />
<subsidary />
<function />
<seg3default />
<username1 />
</updated-by>
</invoice-approval-limit>
<requisition-self-approval-limit>
<id type="integer">35</id>
2016 <created-at type="dateTime">-04 -01 T 09:08:38 + 03:00</created-at>
2016 <updated-at type="dateTime">-04 -01 T 09:08:38 + 03:00</updated-at>
<name>0.00 AED</name>
<amount type="decimal">0.00</amount>
<subject>申請書ヘッダー</subject>
<currency>
<id type="integer">156</id>
<code>AED</code>
<decimals type="integer">2</decimals>
</currency>
<created-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number />
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true" />
<avatar-thumb-url nil="true" />
<custom-field-8 />
<custom-field-7 />
<gpo-entity />
<radio-button-test />
<subsidary />
<function />
<seg3default />
<username1 />
</created-by>
<updated-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number />
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true" />
<avatar-thumb-url nil="true" />
<custom-field-8 />
<custom-field-7 />
<gpo-entity />
<radio-button-test />
<subsidary />
<function />
<seg3default />
<username1 />
</updated-by>
</requisition-self-approval-limit>
<expense-self-approval-limit>
<id type="integer">36</id>
2016 <created-at type="dateTime">-04 -01 T 09:08:38 + 03:00</created-at>
2016 <updated-at type="dateTime">-04 -01 T 09:08:38 + 03:00</updated-at>
<name>0.00 AED (2)</name>
<amount type="decimal">0.00</amount>
<subject>expense_report</subject>
<currency>
<id type="integer">156</id>
<code>AED</code>
<decimals type="integer">2</decimals>
</currency>
<created-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number />
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true" />
<avatar-thumb-url nil="true" />
<custom-field-8 />
<custom-field-7 />
<gpo-entity />
<radio-button-test />
<subsidary />
<function />
<seg3default />
<username1 />
</created-by>
<updated-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number />
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true" />
<avatar-thumb-url nil="true" />
<custom-field-8 />
<custom-field-7 />
<gpo-entity />
<radio-button-test />
<subsidary />
<function />
<seg3default />
<username1 />
</updated-by>
</expense-self-approval-limit>
<expenses-delegated-to type="array" />
<can-expense-for type="array" />
<content-groups type="array" />
<account-groups type="array" />
<approval-groups type="array" />
<working-warehouses type="array" />
<inventory-organizations type="array" />
<created-by>
<id type="integer">390</id>
<login>aditya.mandavilli@coupa.com</login>
<email>aditya.mandavilli@coupa.com</email>
<employee-number nil="true" />
<firstname>Aditya</firstname>
<lastname>Mandavilli</lastname>
<salesforce-id nil="true" />
<avatar-thumb-url nil="true" />
<custom-field-8 />
<custom-field-7 />
<gpo-entity />
<radio-button-test />
<subsidary />
<function />
<seg3default />
<username1 />
</created-by>
<updated-by>
<id type="integer">475</id>
<login>justin.mehta@coupa.com</login>
<email>justin.mehta@coupa.com</email>
<employee-number nil="true" />
<firstname>ジャスティン</firstname>
<lastname>メータ</lastname>
<salesforce-id nil="true" />
<avatar-thumb-url nil="true" />
<custom-field-8 />
<custom-field-7 />
<gpo-entity />
<radio-button-test />
<subsidary />
<function />
<seg3default />
<username1 />
</updated-by>
</user></users>
ユーザー表示
uRL : http://dashmaster17-0.coupadev.com/api/users/5
方法:取得
JSON回答
{
"ID ":5,
"created - at ":"2008 -10 -27 T 22:54:10 + 02:00 ",
"updated - at ":"2013 -04 -19 T 22:02:26 + 03:00 ",
"login ":" tkennedy ",
"email ":" upgrade+tk@coupa.com ",
"purchasing - user ": true,
"expense - user ": false,
"sourcing - user ": false,
"inventory - user ": false,
"employee - number ":"従業員番号",
"firstname ":"Tommy (セールスリード)",
"lastname ":"ケネディ",
"fullname ":"トミー(セールスリード)ケネディ",
"api - user ": false,
"active ": true,
"salesforce - id ": null,
"account - security - type ":0,
"authentication - method ":" coupa_credentials ",
"sso - identifier ": "",
"default - locale ": null,
"business - group - security - type ":1,
"edit - invoice - on - quick - entry ": false,
"avatar - thumb - url ": null,
"mention - name ":"トミー(セールスリーダー)ケネディ",
"gpo - entity ": "",
"radio - button - test ": null,
"subsidary ": null,
"function ": null,
"seg 3 default ": null,
"phone - work ": {
"ID ":5,
"created - at ":"2008 -10 -27 T 22:54:10 + 02:00 ",
"updated - at ":"2012 -12 -14 T 00:27:57 + 02:00 ",
"country - code ":"1 ",
"area - code ":"650 ",
"number ":"5856306 ",
"extension ": null,
"created - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 16:01:34 + 02:00 ",
"updated - at ":"2016 -10 -28 T 11:14:12 + 03:00"
},
"updated - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 16:01:34 + 02:00 ",
"updated - at ":"2016 -10 -28 T 11:14:12 + 03:00"
}
},
"phone - mobile ": {
"ID ":30,
"created - at ":"2008 -10 -28 T 19:59:47 + 02:00 ",
"updated - at ":"2012 -12 -14 T 00:27:57 + 02:00 ",
"country - code ":"1 ",
"area - code ":"650 ",
"number ":"5856306 ",
"extension ": null,
"created - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 16:01:34 + 02:00 ",
"updated - at ":"2016 -10 -28 T 11:14:12 + 03:00"
},
"updated - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 16:01:34 + 02:00 ",
"updated - at ":"2016 -10 -28 T 11:14:12 + 03:00"
}
},
"roles ": [
{
"ID ":3,
"created - at ":"2011 -08 -05 T 19:46:31 + 03:00 ",
"updated - at ":"2011 -08 -05 T 19:46:31 + 03:00 ",
"NAME ":"ユーザー",
"DESCRIPTION ":"申請書の作成・承認が必要なすべてのユーザーのための標準的な役割",
"omnipotent ": false,
"system - role ": true,
"updated - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 16:01:34 + 02:00 ",
"updated - at ":"2016 -10 -28 T 11:14:12 + 03:00"
}
},
{
"ID ":8,
"created - at ":"2011 -08 -05 T 19:46:31 + 03:00 ",
"updated - at ":"2012 -07 -31 T 19:40:04 + 03:00 ",
"name ":"承認者として申請書を編集",
"description ":"申請書を承認している時に編集できる機能が追加されています",
"omnipotent ": false,
"system - role ": true,
"updated - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 16:01:34 + 02:00 ",
"updated - at ":"2016 -10 -28 T 11:14:12 + 03:00"
}
}
],
"manager ": {
"ID ":4,
"login ":" sjones ",
"firstname ":"サリー(セールスVP )",
"lastname ":"ジョーンズ",
"employee - number ":"従業員番号",
"email ":" upgradet+sj@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2008 -10 -27 T 22:54:10 + 02:00 ",
"updated - at ":"2016 -10 -21 T 21:47:04 + 03:00"
},
"default - address ": {
"ID ":16,
"created - at ":"2008 -10 -27 T 22:00:19 + 02:00 ",
"updated - at ":"2016 -11 -10 T 07:42:35 + 02:00 ",
"name ":"本社",
"location - code ": null,
"street 1 ":"28 Nevada Blvd ",
"street 2 ":"ストリート2 ",
"city ":"ラフリン",
"state ":"NV ",
"postal - code ":"89028 ",
"attention ":"注意",
"active ": true,
"business - group - name ":"全員",
"vat - number ": null,
"local - tax - number ": null,
"COUNTRY ": {
"ID ":2 2 3、
"コード":"US ",
"NAME ":「米国」
},
"vat - country ": null,
"content - groups ": [
{
"ID ":1,
"created - at ":"2006 -08 -28 T 05:40:04 + 03:00 ",
"updated - at ":"2015 -08 -17 T 11:07:10 + 03:00 ",
"name ":"全員",
"DESCRIPTION ":"すべてのユーザーがこのグループに割り当てられたドキュメントを見ることができます",
"updated - by ": {
"ID ":80,
"login ":" learnapi ",
"firstname ":"API ",
"lastname ":"API ",
"employee - number ": null,
"email ":" learnapi@learnapi.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2013 -05 -16 T 01:05:17 + 03:00 ",
"updated - at ":"2016 -03 -30 T 12:35:20 + 03:00"
}
}
],
"created - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 16:01:34 + 02:00 ",
"updated - at ":"2016 -10 -28 T 11:14:12 + 03:00"
},
"updated - by ": {
"ID ":157,
"login ":" vijayashree.christopher@coupa.com ",
"firstname ":" vijayashree ",
"lastname ":"クリストファー",
"employee - number ": null,
"email ":" vijayashree.christopher@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2016 -10 -11 T 08:02:51 + 03:00 ",
"updated - at ":"2016 -11 -14 T 08:43:47 + 02:00"
}
},
"default - account ": {
"id ": null,
"created - at ": null,
"updated - at ": null,
"name ": null,
"code ":"SF -セールス-間接",
"active ": true,
"segment -1 ":"SF ",
"segment -2 ":"販売",
"segment -3 ":"間接",
"segment -4 ": null,
"segment -5 ": null,
"segment -6 ": null,
"segment -7 ": null,
"segment -8 ": null,
"segment -9 ": null,
"segment -10 ": null,
"segment -11 ": null,
"segment -12 ": null,
"segment -13 ": null,
"segment -14 ": null,
"segment -15 ": null,
"segment -16 ": null,
"segment -17 ": null,
"segment -18 ": null,
"segment -19 ": null,
"segment -20 ": null,
"account - type ": {
"ID ":1,
"created - at ":"2008 -10 -27 T 22:10:01 + 02:00 ",
"updated - at ":"2016 -11 -08 T 20:56:40 + 02:00 ",
"NAME ":"エースコーポレート",
"active ": true,
"currency ": {
"ID ":1,
"コード":"USD ",
"decimals ":2,
"updated - by ": {
"ID ":80,
"login ":" learnapi ",
"firstname ":"API ",
"lastname ":"API ",
"employee - number ": null,
"email ":" learnapi@learnapi.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2013 -05 -16 T 01:05:17 + 03:00 ",
"updated - at ":"2016 -03 -30 T 12:35:20 + 03:00"
}
},
"primary - contact ": {
"ID ":14,
"created - at ":"2008 -10 -27 T 22:10:01 + 02:00 ",
"updated - at ":"2016 -11 -08 T 20:56:40 + 02:00 ",
"email ":" upgrade@coupa.com ",
"name - prefix ": null,
"name - suffix ": null,
"name - additional ": null,
"name - given ":" xxx ",
"name - family ":" yyyy ",
"name - fullname ": null,
"notes ": null,
"phone - work ": null,
"phone - mobile ": null,
"phone - fax ": null,
"created - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 16:01:34 + 02:00 ",
"updated - at ":"2016 -10 -28 T 11:14:12 + 03:00"
},
"updated - by ": {
"ID ":195,
"login ":" tim.durkin@coupa.com ",
"firstname ":"ティモシー",
"lastname ":"ダーキン",
"employee - number ": null,
"email ":" tim.durkin@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2016 -10 -11 T 19:30:34 + 03:00 ",
"updated - at ":"2016 -11 -10 T 18:18:36 + 02:00"
}
},
"primary - address ": {
"ID ":184,
"created - at ":"2008 -10 -27 T 22:10:01 + 02:00 ",
"updated - at ":"2016 -11 -08 T 20:56:40 + 02:00 ",
"NAME ":" XXX YYYY ",
"location - code ": null,
"street 1 ":"2 W 5 th Ave ",
"street 2 ":"スイート300 ",
"city ":「サンマテオ」、
"state ":"CA ",
"postal - code ":"94404 ",
"attention ": null,
"active ": true,
"business - group - name ": null,
"vat - number ":"465456645 ",
"local - tax - number ": "",
"COUNTRY ": {
"ID ":22,
"code ":"BE ",
"name ":「ベルギー」
},
"vat - country ": {
"ID ":2 2 3、
"コード":"US ",
"name ":「米国」
},
"content - groups ": [],
"created - by ": {
"ID ":1 2 2、
"login ":" matthew.otzwirk@coupa.com ",
"firstname ":"Matthew ",
"lastname ":"Otzwirk ",
"employee - number ": null,
"email ":" matthew.otzwirk@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2016 -04 -27 T 20:54:43 + 03:00 ",
"updated - at ":"2016 -11 -09 T 23:23:32 + 02:00"
},
"updated - by ": {
"ID ":195,
"login ":" tim.durkin@coupa.com ",
"firstname ":"ティモシー",
"lastname ":"ダーキン",
"employee - number ": null,
"email ":" tim.durkin@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2016 -10 -11 T 19:30:34 + 03:00 ",
"updated - at ":"2016 -11 -10 T 18:18:36 + 02:00"
}
},
"created - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 16:01:34 + 02:00 ",
"updated - at ":"2016 -10 -28 T 11:14:12 + 03:00"
},
"updated - by ": {
"ID ":195,
"login ":" tim.durkin@coupa.com ",
"firstname ":"ティモシー",
"lastname ":"ダーキン",
"employee - number ": null,
"email ":" tim.durkin@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2016 -10 -11 T 19:30:34 + 03:00 ",
"updated - at ":"2016 -11 -10 T 18:18:36 + 02:00"
}
}
},
"default - account - type ": {
"ID ":1,
"created - at ":"2008 -10 -27 T 22:10:01 + 02:00 ",
"updated - at ":"2016 -11 -08 T 20:56:40 + 02:00 ",
"name ":"エースコーポレート",
"active ": true,
"currency ": {
"ID ":1,
"コード":"米ドル",
"decimals ":2,
"updated - by ": {
"ID ":80,
"login ":" learnapi ",
"firstname ":"API ",
"lastname ":"API ",
"employee - number ": null,
"email ":" learnapi@learnapi.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2013 -05 -16 T 01:05:17 + 03:00 ",
"updated - at ":"2016 -03 -30 T 12:35:20 + 03:00"
}
},
"primary - contact ": {
"ID ":14,
"created - at ":"2008 -10 -27 T 22:10:01 + 02:00 ",
"updated - at ":"2016 -11 -08 T 20:56:40 + 02:00 ",
"email ":" upgrade@coupa.com ",
"name - prefix ": null,
"name - suffix ": null,
"name - additional ": null,
"name - given ":" xxx ",
"name - family ":" yyyy ",
"name - fullname ": null,
"notes ": null,
"phone - work ": null,
"phone - mobile ": null,
"phone - fax ": null,
"created - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 16:01:34 + 02:00 ",
"updated - at ":"2016 -10 -28 T 11:14:12 + 03:00"
},
"updated - by ": {
"ID ":195,
"login ":" tim.durkin@coupa.com ",
"firstname ":"ティモシー",
"lastname ":"ダーキン",
"employee - number ": null,
"email ":" tim.durkin@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2016 -10 -11 T 19:30:34 + 03:00 ",
"updated - at ":"2016 -11 -10 T 18:18:36 + 02:00"
}
},
"primary - address ": {
"ID ":184,
"created - at ":"2008 -10 -27 T 22:10:01 + 02:00 ",
"updated - at ":"2016 -11 -08 T 20:56:40 + 02:00 ",
"NAME ":" XXX YYYY ",
"location - code ": null,
"street 1 ":"2 W 5 th Ave ",
"street 2 ":"スイート300 ",
"city ":「サンマテオ」、
"state ":"CA ",
"postal - code ":"94404 ",
"attention ": null,
"active ": true,
"business - group - name ": null,
"vat - number ":"465456645 ",
"local - tax - number ": "",
"COUNTRY ": {
"ID ":22,
"code ":"BE ",
"name ":「ベルギー」
},
"vat - country ": {
"ID ":2 2 3、
"コード":"US ",
"name ":「米国」
},
"content - groups ": [],
"created - by ": {
"ID ":1 2 2、
"login ":" matthew.otzwirk@coupa.com ",
"firstname ":"Matthew ",
"lastname ":"Otzwirk ",
"employee - number ": null,
"email ":" matthew.otzwirk@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2016 -04 -27 T 20:54:43 + 03:00 ",
"updated - at ":"2016 -11 -09 T 23:23:32 + 02:00"
},
"updated - by ": {
"ID ":195,
"login ":" tim.durkin@coupa.com ",
"firstname ":"ティモシー",
"lastname ":"ダーキン",
"employee - number ": null,
"email ":" tim.durkin@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2016 -10 -11 T 19:30:34 + 03:00 ",
"updated - at ":"2016 -11 -10 T 18:18:36 + 02:00"
}
},
"created - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 16:01:34 + 02:00 ",
"updated - at ":"2016 -10 -28 T 11:14:12 + 03:00"
},
"updated - by ": {
"ID ":195,
"login ":" tim.durkin@coupa.com ",
"firstname ":"ティモシー",
"lastname ":"ダーキン",
"employee - number ": null,
"email ":" tim.durkin@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2016 -10 -11 T 19:30:34 + 03:00 ",
"updated - at ":"2016 -11 -10 T 18:18:36 + 02:00"
}
},
"default - currency ": {
"ID ":1,
"コード":"USD ",
"decimals ":2,
"updated - by ": {
"ID ":80,
"login ":" learnapi ",
"firstname ":"API ",
"lastname ":"API ",
"employee - number ": null,
"email ":" learnapi@learnapi.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2013 -05 -16 T 01:05:17 + 03:00 ",
"updated - at ":"2016 -03 -30 T 12:35:20 + 03:00"
}
},
"DEPARTMENT ": {
"ID ":2,
"created - at ":"2008 -10 -27 T 22:00:53 + 02:00 ",
"updated - at ":"2010 -03 -24 T 06:03:22 + 02:00 ",
"name ":"販売",
"active ": true,
"created - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 16:01:34 + 02:00 ",
"updated - at ":"2016 -10 -28 T 11:14:12 + 03:00"
},
"updated - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 16:01:34 + 02:00 ",
"updated - at ":"2016 -10 -28 T 11:14:12 + 03:00"
}
},
"expenses - delegated - to ": [],
"can - expenses - for ": [],
"content - groups ": [],
"account - groups ": [],
"approval - groups ": [],
"working -warehouses ": [],
"inventory - organizations ": [],
"updated - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 16:01:34 + 02:00 ",
"updated - at ":"2016 -10 -28 T 11:14:12 + 03:00"
}
}
XML応答
<?xml version="1.0" encoding="UTF-8"?>
<user>
<id type="integer">5</id>
<created-at type="dateTime">2008 -10 -27 T 22:54:10 + 02:00</created-at>
2013 <updated-at type="dateTime">-04 -19 T 22:02:26 + 03:00</updated-at>
<login>tkennedy</login>
<email>upgrade+tk@coupa.com</email>
<purchasing-user type="boolean">true</purchasing-user>
<expense-user type="boolean">偽</expense-user>
<sourcing-user type="boolean">偽</sourcing-user>
<inventory-user type="boolean">偽</inventory-user>
<employee-number></employee-number>
<firstname>Tommy (セールスリード)</firstname>
<lastname>ケネディ</lastname>
<fullname>トミー(セールスリード)ケネディ</fullname>
<api-user type="boolean">偽</api-user>
<active type="boolean">true</active>
<salesforce-id nil="true"/>
<account-security-type type="integer">0</account-security-type>
<authentication-method type="symbol">coupa_credentials</authentication-method>
<sso-identifier></sso-identifier>
<default-locale nil="true"/>
<business-group-security-type type="integer">1</business-group-security-type>
<edit-invoice-on-quick-entry type="boolean">偽</edit-invoice-on-quick-entry>
<avatar-thumb-url nil="true"/>
<mention-name>トミー(セールスリーダー)ケネディ</mention-name>
<custom-field-8></custom-field-8>
<custom-field-7></custom-field-7>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
<phone-work>
<id type="integer">5</id>
<created-at type="dateTime">2008 -10 -27 T 22:54:10 + 02:00</created-at>
2012 <updated-at type="dateTime">-12 -14 T 00:27:57 + 02:00</updated-at>
<country-code>1</country-code>
<area-code>650</area-code>
<number>5856306</number>
<extension nil="true"/>
<created-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number></employee-number>
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<custom-field-8></custom-field-8>
<custom-field-7></custom-field-7>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</created-by>
<updated-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number></employee-number>
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<custom-field-8></custom-field-8>
<custom-field-7></custom-field-7>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</updated-by>
</phone-work>
<phone-mobile>
<id type="integer">30</id>
2008 <created-at type="dateTime">-10 -28 T 19:59:47 + 02:00</created-at>
2012 <updated-at type="dateTime">-12 -14 T 00:27:57 + 02:00</updated-at>
<country-code>1</country-code>
<area-code>650</area-code>
<number>5856306</number>
<extension nil="true"/>
<created-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number></employee-number>
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<custom-field-8></custom-field-8>
<custom-field-7></custom-field-7>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</created-by>
<updated-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number></employee-number>
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<custom-field-8></custom-field-8>
<custom-field-7></custom-field-7>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</updated-by>
</phone-mobile>
<roles type="array">
<role>
<id type="integer">3</id>
2011 <created-at type="dateTime">-08 -05 T 19:46:31 + 03:00</created-at>
2011 <updated-at type="dateTime">-08 -05 T 19:46:31 + 03:00</updated-at>
<name>ユーザー</name>
申請書を作成・承認する必要のあるすべてのユーザーの<description>標準ロール</description>
<omnipotent type="boolean">偽</omnipotent>
<system-role type="boolean">true</system-role>
<updated-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number></employee-number>
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<custom-field-8></custom-field-8>
<custom-field-7></custom-field-7>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</updated-by>
</role>
<role>
<id type="integer">8</id>
2011 <created-at type="dateTime">-08 -05 T 19:46:31 + 03:00</created-at>
2012 <updated-at type="dateTime">-07 -31 T 19:40:04 + 03:00</updated-at>
申請書<name>を承認者として編集</name>
申請書を承認している時に編集できる機能が<description>追加されています</description>
<omnipotent type="boolean">偽</omnipotent>
<system-role type="boolean">true</system-role>
<updated-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number></employee-number>
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<custom-field-8></custom-field-8>
<custom-field-7></custom-field-7>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</updated-by>
</role>
</roles>
<manager>
<id type="integer">4</id>
<login>sjones</login>
<email>upgradet+sj@coupa.com</email>
<employee-number></employee-number>
<firstname>サリー(営業担当副社長)</firstname>
<lastname>ジョーンズ</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<custom-field-8></custom-field-8>
<custom-field-7></custom-field-7>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</manager>
<default-address>
<id type="integer">16</id>
<created-at type="dateTime">2008 -10 -27 T 22:00:19 + 02:00</created-at>
2016 <updated-at type="dateTime">-11 -10 T 07:42:35 + 02:00</updated-at>
<name>本社</name>
<location-code nil="true"/>
<street1>28 Nevada Blvd</street1>
<street2></street2>
<city>ラフリン</city>
<state>NV</state>
<postal-code>89028</postal-code>
<attention></attention>
<active type="boolean">true</active>
<business-group-name>全員</business-group-name>
<vat-number nil="true"/>
<local-tax-number nil="true"/>
<country>
<id type="integer">223</id>
<code>US</code>
<name>米国</name>
</country>
<content-groups type="array">
<content-group>
<id type="integer">1</id>
2006 <created-at type="dateTime">-08 -28 T 05:40:04 + 03:00</created-at>
2015 <updated-at type="dateTime">-08 -17 T 11:07:10 + 03:00</updated-at>
<name>全員</name>
<description>すべてのユーザーがこのグループに割り当てられたドキュメントを見ることができます</description>
<updated-by>
<id type="integer">80</id>
<login>learnapi</login>
<email>learnapi@learnapi.com</email>
<employee-number nil="true"/>
<firstname>API</firstname>
<lastname>API</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<custom-field-8></custom-field-8>
<custom-field-7></custom-field-7>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</updated-by>
</content-group>
</content-groups>
<created-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number></employee-number>
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<custom-field-8></custom-field-8>
<custom-field-7></custom-field-7>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</created-by>
<updated-by>
<id type="integer">157</id>
<login>vijayashree.christopher@coupa.com</login>
<email>vijayashree.christopher@coupa.com</email>
<employee-number nil="true"/>
<firstname>vijayashree</firstname>
<lastname>クリストファー</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<custom-field-8></custom-field-8>
<custom-field-7></custom-field-7>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</updated-by>
</default-address>
<default-account>
<id nil="true"/>
<created-at nil="true"/>
<updated-at nil="true"/>
<name nil="true"/>
SF -セールス-<code>間接</code>
<active type="boolean">true</active>
<segment-1>SF</segment-1>
<segment-2>販売</segment-2>
<segment-3>間接</segment-3>
<segment-4 nil="true"/>
<segment-5 nil="true"/>
<segment-6 nil="true"/>
<segment-7 nil="true"/>
<segment-8 nil="true"/>
<segment-9 nil="true"/>
<segment-10 nil="true"/>
<segment-11 nil="true"/>
<segment-12 nil="true"/>
<segment-13 nil="true"/>
<segment-14 nil="true"/>
<segment-15 nil="true"/>
<segment-16 nil="true"/>
<segment-17 nil="true"/>
<segment-18 nil="true"/>
<segment-19 nil="true"/>
<segment-20 nil="true"/>
<account-type>
<id type="integer">1</id>
<created-at type="dateTime">2008 -10 -27 T 22:10:01 + 02:00</created-at>
2016 <updated-at type="dateTime">-11 -08 T 20:56:40 + 02:00</updated-at>
<name>エースコーポレート</name>
<active type="boolean">true</active>
<currency>
<id type="integer">1</id>
<code>USD</code>
<decimals type="integer">2</decimals>
<updated-by>
<id type="integer">80</id>
<login>learnapi</login>
<email>learnapi@learnapi.com</email>
<employee-number nil="true"/>
<firstname>API</firstname>
<lastname>API</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<custom-field-8></custom-field-8>
<custom-field-7></custom-field-7>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</updated-by>
</currency>
<primary-contact>
<id type="integer">14</id>
<created-at type="dateTime">2008 -10 -27 T 22:10:01 + 02:00</created-at>
2016 <updated-at type="dateTime">-11 -08 T 20:56:40 + 02:00</updated-at>
<email>upgrade@coupa.com</email>
<name-prefix nil="true"/>
<name-suffix nil="true"/>
<name-additional nil="true"/>
<name-given>xxx</name-given>
<name-family>yyyy</name-family>
<name-fullname nil="true"/>
<notes nil="true"/>
<created-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number></employee-number>
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<custom-field-8></custom-field-8>
<custom-field-7></custom-field-7>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</created-by>
<updated-by>
<id type="integer">195</id>
<login>tim.durkin@coupa.com</login>
<email>tim.durkin@coupa.com</email>
<employee-number nil="true"/>
<firstname>ティモシー</firstname>
<lastname>ダーキン</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<custom-field-8></custom-field-8>
<custom-field-7></custom-field-7>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</updated-by>
</primary-contact>
<primary-address>
<id type="integer">184</id>
<created-at type="dateTime">2008 -10 -27 T 22:10:01 + 02:00</created-at>
2016 <updated-at type="dateTime">-11 -08 T 20:56:40 + 02:00</updated-at>
<name>xxx yyyy</name>
<location-code nil="true"/>
<street1>2 W 5 th Ave</street1>
<street2>スイート300</street2>
<city>サンマテオ</city>
<state>カナダ</state>
<postal-code>94404</postal-code>
<attention nil="true"/>
<active type="boolean">true</active>
<business-group-name nil="true"/>
<vat-number>465456645</vat-number>
<local-tax-number></local-tax-number>
<country>
<id type="integer">22</id>
<code>BE</code>
<name>ベルギー</name>
</country>
<vat-country>
<id type="integer">223</id>
<code>US</code>
<name>米国</name>
</vat-country>
<content-groups type="array"/>
<created-by>
<id type="integer">122</id>
<login>matthew.otzwirk@coupa.com</login>
<email>matthew.otzwirk@coupa.com</email>
<employee-number nil="true"/>
<firstname>Matthew</firstname>
<lastname>Otzwirk</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<custom-field-8></custom-field-8>
<custom-field-7></custom-field-7>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</created-by>
<updated-by>
<id type="integer">195</id>
<login>tim.durkin@coupa.com</login>
<email>tim.durkin@coupa.com</email>
<employee-number nil="true"/>
<firstname>ティモシー</firstname>
<lastname>ダーキン</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<custom-field-8></custom-field-8>
<custom-field-7></custom-field-7>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</updated-by>
</primary-address>
<created-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number></employee-number>
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<custom-field-8></custom-field-8>
<custom-field-7></custom-field-7>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</created-by>
<updated-by>
<id type="integer">195</id>
<login>tim.durkin@coupa.com</login>
<email>tim.durkin@coupa.com</email>
<employee-number nil="true"/>
<firstname>ティモシー</firstname>
<lastname>ダーキン</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<custom-field-8></custom-field-8>
<custom-field-7></custom-field-7>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</updated-by>
</account-type>
</default-account>
<default-account-type>
<id type="integer">1</id>
<created-at type="dateTime">2008 -10 -27 T 22:10:01 + 02:00</created-at>
2016 <updated-at type="dateTime">-11 -08 T 20:56:40 + 02:00</updated-at>
<name>エース企業</name>
<active type="boolean">true</active>
<currency>
<id type="integer">1</id>
<code>USD</code>
<decimals type="integer">2</decimals>
<updated-by>
<id type="integer">80</id>
<login>learnapi</login>
<email>learnapi@learnapi.com</email>
<employee-number nil="true"/>
<firstname>API</firstname>
<lastname>API</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<custom-field-8></custom-field-8>
<custom-field-7></custom-field-7>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</updated-by>
</currency>
<primary-contact>
<id type="integer">14</id>
<created-at type="dateTime">2008 -10 -27 T 22:10:01 + 02:00</created-at>
2016 <updated-at type="dateTime">-11 -08 T 20:56:40 + 02:00</updated-at>
<email>upgrade@coupa.com</email>
<name-prefix nil="true"/>
<name-suffix nil="true"/>
<name-additional nil="true"/>
<name-given>xxx</name-given>
<name-family>yyyy</name-family>
<name-fullname nil="true"/>
<notes nil="true"/>
<created-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number></employee-number>
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<custom-field-8></custom-field-8>
<custom-field-7></custom-field-7>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</created-by>
<updated-by>
<id type="integer">195</id>
<login>tim.durkin@coupa.com</login>
<email>tim.durkin@coupa.com</email>
<employee-number nil="true"/>
<firstname>ティモシー</firstname>
<lastname>ダーキン</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<custom-field-8></custom-field-8>
<custom-field-7></custom-field-7>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</updated-by>
</primary-contact>
<primary-address>
<id type="integer">184</id>
<created-at type="dateTime">2008 -10 -27 T 22:10:01 + 02:00</created-at>
2016 <updated-at type="dateTime">-11 -08 T 20:56:40 + 02:00</updated-at>
<name>xxx yyyy</name>
<location-code nil="true"/>
<street1>2 W 5 th Ave</street1>
<street2>スイート300</street2>
<city>サンマテオ</city>
<state>カナダ</state>
<postal-code>94404</postal-code>
<attention nil="true"/>
<active type="boolean">true</active>
<business-group-name nil="true"/>
<vat-number>465456645</vat-number>
<local-tax-number></local-tax-number>
<country>
<id type="integer">22</id>
<code>BE</code>
<name>ベルギー</name>
</country>
<vat-country>
<id type="integer">223</id>
<code>米国</code>
<name>米国</name>
</vat-country>
<content-groups type="array"/>
<created-by>
<id type="integer">122</id>
<login>matthew.otzwirk@coupa.com</login>
<email>matthew.otzwirk@coupa.com</email>
<employee-number nil="true"/>
<firstname>Matthew</firstname>
<lastname>Otzwirk</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<custom-field-8></custom-field-8>
<custom-field-7></custom-field-7>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</created-by>
<updated-by>
<id type="integer">195</id>
<login>tim.durkin@coupa.com</login>
<email>tim.durkin@coupa.com</email>
<employee-number nil="true"/>
<firstname>ティモシー</firstname>
<lastname>ダーキン</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<custom-field-8></custom-field-8>
<custom-field-7></custom-field-7>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</updated-by>
</primary-address>
<created-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number></employee-number>
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<custom-field-8></custom-field-8>
<custom-field-7></custom-field-7>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</created-by>
<updated-by>
<id type="integer">195</id>
<login>tim.durkin@coupa.com</login>
<email>tim.durkin@coupa.com</email>
<employee-number nil="true"/>
<firstname>ティモシー</firstname>
<lastname>ダーキン</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<custom-field-8></custom-field-8>
<custom-field-7></custom-field-7>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</updated-by>
</default-account-type>
<default-currency>
<id type="integer">1</id>
<code>USD</code>
<decimals type="integer">2</decimals>
<updated-by>
<id type="integer">80</id>
<login>learnapi</login>
<email>learnapi@learnapi.com</email>
<employee-number nil="true"/>
<firstname>API</firstname>
<lastname>API</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<custom-field-8></custom-field-8>
<custom-field-7></custom-field-7>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</updated-by>
</default-currency>
<department>
<id type="integer">2</id>
<created-at type="dateTime">2008 -10 -27 T 22:00:53 + 02:00</created-at>
<updated-at type="dateTime">2010 -03 -24 T 06:03:22 + 02:00</updated-at>
<name>営業</name>
<active type="boolean">true</active>
<created-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number></employee-number>
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<custom-field-8></custom-field-8>
<custom-field-7></custom-field-7>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</created-by>
<updated-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number></employee-number>
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<custom-field-8></custom-field-8>
<custom-field-7></custom-field-7>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</updated-by>
</department>
<expenses-delegated-to type="array"/>
<can-expense-for type="array"/>
<content-groups type="array"/>
<account-groups type="array"/>
<approval-groups type="array"/>
<working-warehouses type="array"/>
<inventory-organizations type="array"/>
<updated-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number></employee-number>
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<custom-field-8></custom-field-8>
<custom-field-7></custom-field-7>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</updated-by>
</user>
ユーザーが作成
url :/ api/users
方法:投稿
JSON要求
{
"login ":" test1@coupa.com ",
"email ":" test1@coupa.com ",
"purchasing - user ": true,
"firstname ":"テスト1 ",
"lastname ":" user 1 "
}
JSON回答
{
"ID ":6 0 6、
"created - at ":"2016 -11 -14 T 11:53:40 - 08:00 ",
"updated - at ":"2016 -11 -14 T 11:53:40 - 08:00 ",
"login ":" test1@coupa.com ",
"email ":" test1@coupa.com ",
"purchasing - user ": true,
"expense - user ": false,
"sourcing - user ": false,
"inventory - user ": false,
"employee - number ": null,
"firstname ":"テスト1 ",
"lastname ":" user 1 ",
"fullname ":"テスト1ユーザー1 ",
"api - user ": false,
"active ": true,
"salesforce - id ": null,
"account - security - type ":0,
"authentication - method ":" coupa_credentials ",
"sso - identifier ": null,
"default - locale ": null,
"business - group - security - type ": null,
"edit - invoice - on - quick - entry ": false,
"avatar - thumb - url ": null,
"mention - name ":" test 1 user 1 ",
"gpo - entity ": null,
"radio - button - test ": null,
"subsidary ": null,
"function ": null,
"seg 3 default ": null,
"roles ": [
{
"ID ":3,
"created - at ":"2011 -08 -05 T 09:46:31 - 07:00 ",
"updated - at ":"2011 -08 -05 T 09:46:31 - 07:00 ",
"name ":"ユーザー",
"DESCRIPTION ":"申請書の作成・承認が必要なすべてのユーザーのための標準的な役割",
"omnipotent ": false,
"system - role ": true,
"updated - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 06:01:34 - 08:00 ",
"updated - at ":"2016 -11 -14 T 11:52:00 - 08:00"
}
}
],
"expenses - delegated - to ": [],
"can - expenses - for ": [],
"content - groups ": [],
"account - groups ": [],
"approval - groups ": [],
"working -warehouses ": [],
"inventory - organizations ": [],
"created - by ": {
"ID ":80,
"login ":" learnapi ",
"firstname ":"API ",
"lastname ":"API ",
"employee - number ": null,
"email ":" learnapi@learnapi.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2013 -05 -15 T 15:05:17 - 07:00 ",
"updated - at ":"2016 -03 -30 T 02:35:20 - 07:00"
},
"updated - by ": {
"ID ":80,
"login ":" learnapi ",
"firstname ":"API ",
"lastname ":"API ",
"employee - number ": null,
"email ":" learnapi@learnapi.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2013 -05 -15 T 15:05:17 - 07:00 ",
"updated - at ":"2016 -03 -30 T 02:35:20 - 07:00"
}
}
XML要求
<user>
<login>test2@coupa.com</login>
<email>test2@coupa.com</email>
<purchasing-user>true</purchasing-user>
<firstname>test 2</firstname>
<lastname>user 2</lastname>
</user>
XML応答
<?xml version="1.0" encoding="UTF-8"?>
<user>
<id type="integer">607</id>
<created-at type="dateTime">2016 -11 -14 T 11:58:38 - 08:00</created-at>
<updated-at type="dateTime">2016 -11 -14 T 11:58:38 - 08:00</updated-at>
<login>test2@coupa.com</login>
<email>test2@coupa.com</email>
<purchasing-user type="boolean">true</purchasing-user>
<expense-user type="boolean">偽</expense-user>
<sourcing-user type="boolean">偽</sourcing-user>
<inventory-user type="boolean">偽</inventory-user>
<employee-number nil="true"/>
<firstname>test 2</firstname>
<lastname>user 2</lastname>
<fullname>test 2 user 2</fullname>
<api-user type="boolean">偽</api-user>
<active type="boolean">true</active>
<salesforce-id nil="true"/>
<account-security-type type="integer">0</account-security-type>
<authentication-method type="symbol">coupa_credentials</authentication-method>
<sso-identifier nil="true"/>
<default-locale nil="true"/>
<business-group-security-type nil="true"/>
<edit-invoice-on-quick-entry type="boolean">偽</edit-invoice-on-quick-entry>
<avatar-thumb-url nil="true"/>
test 2 user<mention-name> 2</mention-name>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
<roles type="array">
<role>
<id type="integer">3</id>
2011 <created-at type="dateTime">-08 -05 T 09:46:31 - 07:00</created-at>
2011 <updated-at type="dateTime">-08 -05 T 09:46:31 - 07:00</updated-at>
<name>ユーザー</name>
申請書を作成・承認する必要のあるすべてのユーザーの<description>標準ロール</description>
<omnipotent type="boolean">偽</omnipotent>
<system-role type="boolean">true</system-role>
<updated-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number></employee-number>
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</updated-by>
</role>
</roles>
<expenses-delegated-to type="array"/>
<can-expense-for type="array"/>
<content-groups type="array"/>
<account-groups type="array"/>
<approval-groups type="array"/>
<working-warehouses type="array"/>
<inventory-organizations type="array"/>
<created-by>
<id type="integer">80</id>
<login>learnapi</login>
<email>learnapi@learnapi.com</email>
<employee-number nil="true"/>
<firstname>API</firstname>
<lastname>API</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</created-by>
<updated-by>
<id type="integer">80</id>
<login>learnapi</login>
<email>learnapi@learnapi.com</email>
<employee-number nil="true"/>
<firstname>API</firstname>
<lastname>API</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</updated-by>
</user>
ユーザー作成エラーあり
url :/ api/users
方法:投稿
JSON要求
{
"login ":" test1@coupa.com ",
"email ":" test1@coupa.com ",
"purchasing - user ": true,
"firstname ":"テスト1 ",
"lastname ":" user 1 "
}
JSON回答
{
"errors ": {
"user ": [
"ログインは既に取得されています",
"メールアドレスは既に取得されています"
]
}
}
XML要求
<user>
<login>test1@coupa.com</login>
<email>test1@coupa.com</email>
<purchasing-user>true</purchasing-user>
<firstname>test 1</firstname>
<lastname>user 1</lastname>
</user>
XML応答
<?xml version="1.0" encoding="UTF-8"?>
<errors>
<error>
<![CDATA[Login has already been taken]]>
</error>
<error>
<![CDATA[Email has already been taken]]>
</error>
</errors>
ユーザーの更新
url :/ api/users/5
方法:プット
JSON要求
{
"firstname ":"テスト2 ",
"lastname ":" user 2 "
}
JSON応答
{
"ID ":5,
"created - at ":"2008 -10 -27 T 13:54:10 - 07:00 ",
"updated - at ":"2016 -11 -15 T 06:45:11 - 08:00 ",
"login ":" tkennedy ",
"email ":" upgrade+tk@coupa.com ",
"purchasing - user ": true,
"expense - user ": false,
"sourcing - user ": false,
"inventory - user ": false,
"employee - number ":"従業員番号",
"firstname ":"テスト2 ",
"lastname ":" user 2 ",
"fullname ":"テスト2ユーザー2 ",
"api - user ": false,
"active ": true,
"salesforce - id ": null,
"account - security - type ":0,
"authentication - method ":" coupa_credentials ",
"sso - identifier ": "",
"default - locale ": null,
"business - group - security - type ":1,
"edit - invoice - on - quick - entry ": false,
"avatar - thumb - url ": null,
"mention - name ":"トミー(セールスリーダー)ケネディ",
"gpo - entity ": "",
"radio - button - test ": null,
"subsidary ": null,
"function ": null,
"seg 3 default ": null,
"phone - work ": {
"ID ":5,
"created - at ":"2008 -10 -27 T 13:54:10 - 07:00 ",
"updated - at ":"2012 -12 -13 T 14:27:57 - 08:00 ",
"country - code ":"1 ",
"area - code ":"650 ",
"number ":"5856306 ",
"extension ": null,
"created - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 06:01:34 - 08:00 ",
"updated - at ":"2016 -11 -14 T 11:52:00 - 08:00"
},
"updated - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 06:01:34 - 08:00 ",
"updated - at ":"2016 -11 -14 T 11:52:00 - 08:00"
}
},
"phone - mobile ": {
"ID ":30,
"created - at ":"2008 -10 -28 T 10:59:47 - 07:00 ",
"updated - at ":"2012 -12 -13 T 14:27:57 - 08:00 ",
"country - code ":"1 ",
"area - code ":"650 ",
"number ":"5856306 ",
"extension ": null,
"created - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 06:01:34 - 08:00 ",
"updated - at ":"2016 -11 -14 T 11:52:00 - 08:00"
},
"updated - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 06:01:34 - 08:00 ",
"updated - at ":"2016 -11 -14 T 11:52:00 - 08:00"
}
},
"roles ": [
{
"ID ":3,
"created - at ":"2011 -08 -05 T 09:46:31 - 07:00 ",
"updated - at ":"2011 -08 -05 T 09:46:31 - 07:00 ",
"name ":"ユーザー",
"description ":"申請書の作成・承認が必要なすべてのユーザーのための標準的な役割",
"omnipotent ": false,
"system - role ": true,
"updated - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 06:01:34 - 08:00 ",
"updated - at ":"2016 -11 -14 T 11:52:00 - 08:00"
}
},
{
"ID ":8,
"created - at ":"2011 -08 -05 T 09:46:31 - 07:00 ",
"updated - at ":"2012 -07 -31 T 09:40:04 - 07:00 ",
"NAME ":"承認者として申請書を編集",
"DESCRIPTION ":"申請書を承認している時に編集できる機能が追加されています",
"omnipotent ": false,
"system - role ": true,
"updated - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 06:01:34 - 08:00 ",
"updated - at ":"2016 -11 -14 T 11:52:00 - 08:00"
}
}
],
"manager ": {
"ID ":4,
"login ":" sjones ",
"firstname ":"サリー(セールスVP )",
"lastname ":"ジョーンズ",
"employee - number ":"従業員番号",
"email ":" upgradet+sj@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2008 -10 -27 T 13:54:10 - 07:00 ",
"updated - at ":"2016 -10 -21 T 11:47:04 - 07:00"
},
"default - address ": {
"ID ":16,
"created - at ":"2008 -10 -27 T 13:00:19 - 07:00 ",
"updated - at ":"2009 -07 -11 T 13:33:25 - 07:00 ",
"name ":"本社",
"location - code ": null,
"street 1 ":"28 Nevada Blvd ",
"street 2 ":"ストリート2 ",
"city ":"ラフリン",
"state ":"NV ",
"postal - code ":"89028 ",
"attention ":"注意",
"active ": true,
"business - group - name ":"全員",
"vat - number ": null,
"local - tax - number ": null,
"COUNTRY ": {
"ID ":2 2 3、
"コード":"US ",
"name ":「米国」
},
"vat - country ": null,
"content - groups ": [
{
"ID ":1,
"created - at ":"2006 -08 -27 T 19:40:04 - 07:00 ",
"updated - at ":"2015 -08 -17 T 01:07:10 - 07:00 ",
"name ":"全員",
"DESCRIPTION ":"すべてのユーザーがこのグループに割り当てられたドキュメントを見ることができます",
"updated - by ": {
"ID ":80,
"login ":" learnapi ",
"firstname ":"API ",
"lastname ":"API ",
"employee - number ": null,
"email ":" learnapi@learnapi.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2013 -05 -15 T 15:05:17 - 07:00 ",
"updated - at ":"2016 -03 -30 T 02:35:20 - 07:00"
}
}
],
"created - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 06:01:34 - 08:00 ",
"updated - at ":"2016 -11 -14 T 11:52:00 - 08:00"
},
"updated - by ": {
"ID ":16,
"login ":" krhine ",
"firstname ":"Kevin ",
"lastname ":"ライン",
"employee - number ":"従業員番号",
"email ":" kevin.rhine@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2009 -02 -23 T 17:28:34 - 08:00 ",
"updated - at ":"2016 -10 -23 T 22:53:46 - 07:00"
}
},
"default - account ": {
"id ": null,
"created - at ": null,
"updated - at ": null,
"name ": null,
"コード":"SF -セールス-間接",
"active ": true,
"segment -1 ":"SF ",
"segment -2 ":"販売",
"segment -3 ":"間接",
"segment -4 ": null,
"segment -5 ": null,
"segment -6 ": null,
"segment -7 ": null,
"segment -8 ": null,
"segment -9 ": null,
"segment -10 ": null,
"segment -11 ": null,
"segment -12 ": null,
"segment -13 ": null,
"segment -14 ": null,
"segment -15 ": null,
"segment -16 ": null,
"segment -17 ": null,
"segment -18 ": null,
"segment -19 ": null,
"segment -20 ": null,
"account - type ": {
"ID ":1,
"created - at ":"2008 -10 -27 T 13:10:01 - 07:00 ",
"updated - at ":"2016 -10 -27 T 02:38:59 - 07:00 ",
"name ":"エースコーポレート",
"active ": true,
"currency ": {
"ID ":1,
"コード":"USD ",
"decimals ":2,
"updated - by ": {
"ID ":80,
"login ":" learnapi ",
"firstname ":"API ",
"lastname ":"API ",
"employee - number ": null,
"email ":" learnapi@learnapi.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2013 -05 -15 T 15:05:17 - 07:00 ",
"updated - at ":"2016 -03 -30 T 02:35:20 - 07:00"
}
},
"primary - contact ": {
"ID ":14,
"created - at ":"2008 -10 -27 T 13:10:01 - 07:00 ",
"updated - at ":"2016 -10 -12 T 14:35:18 - 07:00 ",
"email ":" upgrade@coupa.com ",
"name - prefix ": null,
"name - suffix ": null,
"name - additional ": null,
"name - given ":" xxx ",
"name - family ":" yyyy ",
"name - fullname ": null,
"notes ": null,
"phone - work ": null,
"phone - mobile ": null,
"phone - fax ": null,
"created - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 06:01:34 - 08:00 ",
"updated - at ":"2016 -11 -14 T 11:52:00 - 08:00"
},
"updated - by ": {
"ID ":1 2 2、
"login ":" matthew.otzwirk@coupa.com ",
"firstname ":"Matthew ",
"lastname ":"Otzwirk ",
"employee - number ": null,
"email ":" matthew.otzwirk@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2016 -04 -27 T 10:54:43 - 07:00 ",
"updated - at ":"2016 -10 -27 T 09:30:21 - 07:00"
}
},
"primary - address ": {
"ID ":184,
"created - at ":"2008 -10 -27 T 13:10:01 - 07:00 ",
"updated - at ":"2016 -03 -17 T 01:35:36 - 07:00 ",
"NAME ":" XXX YYYY ",
"location - code ": null,
"street 1 ":"2 W 5 th Ave ",
"street 2 ":"スイート300 ",
"city ":「サンマテオ」、
"state ":"CA ",
"postal - code ":"94404 ",
"attention ": null,
"active ": true,
"business - group - name ": null,
"vat - number ":"465456645 ",
"local - tax - number ": "",
"COUNTRY ": {
"ID ":22,
"コード":"BE ",
"name ":「ベルギー」
},
"vat - country ": {
"ID ":2 2 3、
"コード":"US ",
"name ":「米国」
},
"content - groups ": [],
"created - by ": {
"ID ":1 2 2、
"login ":" matthew.otzwirk@coupa.com ",
"firstname ":"Matthew ",
"lastname ":"Otzwirk ",
"employee - number ": null,
"email ":" matthew.otzwirk@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2016 -04 -27 T 10:54:43 - 07:00 ",
"updated - at ":"2016 -10 -27 T 09:30:21 - 07:00"
},
"updated - by ": {
"ID ":1 2 2、
"login ":" matthew.otzwirk@coupa.com ",
"firstname ":"Matthew ",
"lastname ":"Otzwirk ",
"employee - number ": null,
"email ":" matthew.otzwirk@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2016 -04 -27 T 10:54:43 - 07:00 ",
"updated - at ":"2016 -10 -27 T 09:30:21 - 07:00"
}
},
"created - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 06:01:34 - 08:00 ",
"updated - at ":"2016 -11 -14 T 11:52:00 - 08:00"
},
"updated - by ": {
"ID ":1 4 7、
"login ":" sourabh.pataskar@coupa.com ",
"firstname ":"Sourabh ",
"lastname ":"パタスカー",
"employee - number ": null,
"email ":" sourabh.pataskar@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2016 -10 -10 T 03:15:04 - 07:00 ",
"updated - at ":"2016 -10 -27 T 02:36:52 - 07:00"
}
}
},
"default - account - type ": {
"ID ":1,
"created - at ":"2008 -10 -27 T 13:10:01 - 07:00 ",
"updated - at ":"2016 -10 -27 T 02:38:59 - 07:00 ",
"NAME ":"エースコーポレート",
"active ": true,
"currency ": {
"ID ":1,
"code ":"USD ",
"decimals ":2,
"updated - by ": {
"ID ":80,
"login ":" learnapi ",
"firstname ":"API ",
"lastname ":"API ",
"employee - number ": null,
"email ":" learnapi@learnapi.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2013 -05 -15 T 15:05:17 - 07:00 ",
"updated - at ":"2016 -03 -30 T 02:35:20 - 07:00"
}
},
"primary - contact ": {
"ID ":14,
"created - at ":"2008 -10 -27 T 13:10:01 - 07:00 ",
"updated - at ":"2016 -10 -12 T 14:35:18 - 07:00 ",
"email ":" upgrade@coupa.com ",
"name - prefix ": null,
"name - suffix ": null,
"name - additional ": null,
"name - given ":" xxx ",
"name - family ":" yyyy ",
"name - fullname ": null,
"notes ": null,
"phone - work ": null,
"phone - mobile ": null,
"phone - fax ": null,
"created - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 06:01:34 - 08:00 ",
"updated - at ":"2016 -11 -14 T 11:52:00 - 08:00"
},
"updated - by ": {
"ID ":1 2 2、
"login ":" matthew.otzwirk@coupa.com ",
"firstname ":"Matthew ",
"lastname ":"Otzwirk ",
"employee - number ": null,
"email ":" matthew.otzwirk@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2016 -04 -27 T 10:54:43 - 07:00 ",
"updated - at ":"2016 -10 -27 T 09:30:21 - 07:00"
}
},
"primary - address ": {
"ID ":184,
"created - at ":"2008 -10 -27 T 13:10:01 - 07:00 ",
"updated - at ":"2016 -03 -17 T 01:35:36 - 07:00 ",
"NAME ":" XXX YYYY ",
"location - code ": null,
"street 1 ":"2 W 5 th Ave ",
"street 2 ":"スイート300 ",
"city ":「サンマテオ」、
"state ":"CA ",
"postal - code ":"94404 ",
"attention ": null,
"active ": true,
"business - group - name ": null,
"vat - number ":"465456645 ",
"local - tax - number ": "",
"COUNTRY ": {
"ID ":22,
"コード":"BE ",
"name ":「ベルギー」
},
"vat - country ": {
"ID ":2 2 3、
"コード":"US ",
"name ":「米国」
},
"content - groups ": [],
"created - by ": {
"ID ":1 2 2、
"login ":" matthew.otzwirk@coupa.com ",
"firstname ":"Matthew ",
"lastname ":"Otzwirk ",
"employee - number ": null,
"email ":" matthew.otzwirk@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2016 -04 -27 T 10:54:43 - 07:00 ",
"updated - at ":"2016 -10 -27 T 09:30:21 - 07:00"
},
"updated - by ": {
"ID ":1 2 2、
"login ":" matthew.otzwirk@coupa.com ",
"firstname ":"Matthew ",
"lastname ":"Otzwirk ",
"employee - number ": null,
"email ":" matthew.otzwirk@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2016 -04 -27 T 10:54:43 - 07:00 ",
"updated - at ":"2016 -10 -27 T 09:30:21 - 07:00"
}
},
"created - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 06:01:34 - 08:00 ",
"updated - at ":"2016 -11 -14 T 11:52:00 - 08:00"
},
"updated - by ": {
"ID ":1 4 7、
"login ":" sourabh.pataskar@coupa.com ",
"firstname ":"Sourabh ",
"lastname ":"パタスカー",
"employee - number ": null,
"email ":" sourabh.pataskar@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2016 -10 -10 T 03:15:04 - 07:00 ",
"updated - at ":"2016 -10 -27 T 02:36:52 - 07:00"
}
},
"default - currency ": {
"ID ":1,
"code ":"USD ",
"decimals ":2,
"updated - by ": {
"ID ":80,
"login ":" learnapi ",
"firstname ":"API ",
"lastname ":"API ",
"employee - number ": null,
"email ":" learnapi@learnapi.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2013 -05 -15 T 15:05:17 - 07:00 ",
"updated - at ":"2016 -03 -30 T 02:35:20 - 07:00"
}
},
"DEPARTMENT ": {
"ID ":2,
"created - at ":"2008 -10 -27 T 13:00:53 - 07:00 ",
"updated - at ":"2010 -03 -23 T 21:03:22 - 07:00 ",
"name ":"販売",
"active ": true,
"created - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 06:01:34 - 08:00 ",
"updated - at ":"2016 -11 -14 T 11:52:00 - 08:00"
},
"updated - by ": {
"ID ":1,
"login ":"クーパサポート",
"firstname ":"Coupa ",
"lastname ":"サポート",
"employee - number ":"従業員番号",
"email ":" upgrade+coupasupport@coupa.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2006 -02 -16 T 06:01:34 - 08:00 ",
"updated - at ":"2016 -11 -14 T 11:52:00 - 08:00"
}
},
"expenses - delegated - to ": [],
"can - expenses - for ": [],
"content - groups ": [],
"account - groups ": [],
"approval - groups ": [],
"working -warehouses ": [],
"inventory - organizations ": [],
"updated - by ": {
"ID ":80,
"login ":" learnapi ",
"firstname ":"API ",
"lastname ":"API ",
"employee - number ": null,
"email ":" learnapi@learnapi.com ",
"salesforce - id ": null,
"avatar - thumb - url ": null,
"created - at ":"2013 -05 -15 T 15:05:17 - 07:00 ",
"updated - at ":"2016 -03 -30 T 02:35:20 - 07:00"
}
}
XML要求
<user>
<firstname>test 2</firstname>
<lastname>user 2</lastname>
</user>
XML応答
<?xml version="1.0" encoding="UTF-8"?>
<user>
<id type="integer">5</id>
2008 <created-at type="dateTime">-10 -27 T 13:54:10 - 07:00</created-at>
2016 <updated-at type="dateTime">-11 -15 T 06:45:11 - 08:00</updated-at>
<login>tkennedy</login>
<email>upgrade+tk@coupa.com</email>
<purchasing-user type="boolean">true</purchasing-user>
<expense-user type="boolean">偽</expense-user>
<sourcing-user type="boolean">偽</sourcing-user>
<inventory-user type="boolean">偽</inventory-user>
<employee-number></employee-number>
<firstname>test 2</firstname>
<lastname>user 2</lastname>
<fullname>test 2 user 2</fullname>
<api-user type="boolean">偽</api-user>
<active type="boolean">true</active>
<salesforce-id nil="true"/>
<account-security-type type="integer">0</account-security-type>
<authentication-method type="symbol">coupa_credentials</authentication-method>
<sso-identifier></sso-identifier>
<default-locale nil="true"/>
<business-group-security-type type="integer">1</business-group-security-type>
<edit-invoice-on-quick-entry type="boolean">偽</edit-invoice-on-quick-entry>
<avatar-thumb-url nil="true"/>
<mention-name>トミー(セールスリーダー)ケネディ</mention-name>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
<phone-work>
<id type="integer">5</id>
2008 <created-at type="dateTime">-10 -27 T 13:54:10 - 07:00</created-at>
2012 <updated-at type="dateTime">-12 -13 T 14:27:57 - 08:00</updated-at>
<country-code>1</country-code>
<area-code>650</area-code>
<number>5856306</number>
<extension nil="true"/>
<created-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number></employee-number>
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</created-by>
<updated-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number></employee-number>
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</updated-by>
</phone-work>
<phone-mobile>
<id type="integer">30</id>
2008 <created-at type="dateTime">-10 -28 T 10:59:47 - 07:00</created-at>
2012 <updated-at type="dateTime">-12 -13 T 14:27:57 - 08:00</updated-at>
<country-code>1</country-code>
<area-code>650</area-code>
<number>5856306</number>
<extension nil="true"/>
<created-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number></employee-number>
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</created-by>
<updated-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number></employee-number>
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</updated-by>
</phone-mobile>
<roles type="array">
<role>
<id type="integer">3</id>
2011 <created-at type="dateTime">-08 -05 T 09:46:31 - 07:00</created-at>
2011 <updated-at type="dateTime">-08 -05 T 09:46:31 - 07:00</updated-at>
<name>ユーザー</name>
申請書を作成・承認する必要のあるすべてのユーザーの<description>標準ロール</description>
<omnipotent type="boolean">偽</omnipotent>
<system-role type="boolean">true</system-role>
<updated-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number></employee-number>
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</updated-by>
</role>
<role>
<id type="integer">8</id>
2011 <created-at type="dateTime">-08 -05 T 09:46:31 - 07:00</created-at>
2012 <updated-at type="dateTime">-07 -31 T 09:40:04 - 07:00</updated-at>
申請書<name>を承認者として編集</name>
申請書を承認している時に編集できる機能が<description>追加されています</description>
<omnipotent type="boolean">偽</omnipotent>
<system-role type="boolean">true</system-role>
<updated-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number></employee-number>
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</updated-by>
</role>
</roles>
<manager>
<id type="integer">4</id>
<login>sjones</login>
<email>upgradet+sj@coupa.com</email>
<employee-number></employee-number>
<firstname>サリー(営業担当副社長)</firstname>
<lastname>ジョーンズ</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</manager>
<default-address>
<id type="integer">16</id>
2008 <created-at type="dateTime">-10 -27 T 13:00:19 - 07:00</created-at>
2009 <updated-at type="dateTime">-07 -11 T 13:33:25 - 07:00</updated-at>
<name>本社</name>
<location-code nil="true"/>
<street1>28 Nevada Blvd</street1>
<street2></street2>
<city>ラフリン</city>
<state>NV</state>
<postal-code>89028</postal-code>
<attention></attention>
<active type="boolean">true</active>
<business-group-name>全員</business-group-name>
<vat-number nil="true"/>
<local-tax-number nil="true"/>
<country>
<id type="integer">223</id>
<code>US</code>
<name>米国</name>
</country>
<content-groups type="array">
<content-group>
<id type="integer">1</id>
2006 <created-at type="dateTime">-08 -27 T 19:40:04 - 07:00</created-at>
2015 <updated-at type="dateTime">-08 -17 T 01:07:10 - 07:00</updated-at>
<name>全員</name>
<description>すべてのユーザーがこのグループに割り当てられたドキュメントを見ることができます</description>
<updated-by>
<id type="integer">80</id>
<login>learnapi</login>
<email>learnapi@learnapi.com</email>
<employee-number nil="true"/>
<firstname>API</firstname>
<lastname>API</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</updated-by>
</content-group>
</content-groups>
<created-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number></employee-number>
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</created-by>
<updated-by>
<id type="integer">16</id>
<login>krhine</login>
<email>kevin.rhine@coupa.com</email>
<employee-number></employee-number>
<firstname>Kevin</firstname>
<lastname>Rhine</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</updated-by>
</default-address>
<default-account>
<id nil="true"/>
<created-at nil="true"/>
<updated-at nil="true"/>
<name nil="true"/>
SF -セールス-<code>間接</code>
<active type="boolean">true</active>
<segment-1>SF</segment-1>
<segment-2>営業</segment-2>
<segment-3>間接</segment-3>
<segment-4 nil="true"/>
<segment-5 nil="true"/>
<segment-6 nil="true"/>
<segment-7 nil="true"/>
<segment-8 nil="true"/>
<segment-9 nil="true"/>
<segment-10 nil="true"/>
<segment-11 nil="true"/>
<segment-12 nil="true"/>
<segment-13 nil="true"/>
<segment-14 nil="true"/>
<segment-15 nil="true"/>
<segment-16 nil="true"/>
<segment-17 nil="true"/>
<segment-18 nil="true"/>
<segment-19 nil="true"/>
<segment-20 nil="true"/>
<account-type>
<id type="integer">1</id>
2008 <created-at type="dateTime">-10 -27 T 13:10:01 - 07:00</created-at>
2016 <updated-at type="dateTime">-10 -27 T 02:38:59 - 07:00</updated-at>
<name>エースコーポレート</name>
<active type="boolean">true</active>
<currency>
<id type="integer">1</id>
<code>USD</code>
<decimals type="integer">2</decimals>
<updated-by>
<id type="integer">80</id>
<login>learnapi</login>
<email>learnapi@learnapi.com</email>
<employee-number nil="true"/>
<firstname>API</firstname>
<lastname>API</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</updated-by>
</currency>
<primary-contact>
<id type="integer">14</id>
2008 <created-at type="dateTime">-10 -27 T 13:10:01 - 07:00</created-at>
2016 <updated-at type="dateTime">-10 -12 T 14:35:18 - 07:00</updated-at>
<email>upgrade@coupa.com</email>
<name-prefix nil="true"/>
<name-suffix nil="true"/>
<name-additional nil="true"/>
<name-given>xxx</name-given>
<name-family>yyyy</name-family>
<name-fullname nil="true"/>
<notes nil="true"/>
<created-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number></employee-number>
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</created-by>
<updated-by>
<id type="integer">122</id>
<login>matthew.otzwirk@coupa.com</login>
<email>matthew.otzwirk@coupa.com</email>
<employee-number nil="true"/>
<firstname>Matthew</firstname>
<lastname>Otzwirk</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</updated-by>
</primary-contact>
<primary-address>
<id type="integer">184</id>
2008 <created-at type="dateTime">-10 -27 T 13:10:01 - 07:00</created-at>
2016 <updated-at type="dateTime">-03 -17 T 01:35:36 - 07:00</updated-at>
<name>xxx yyyy</name>
<location-code nil="true"/>
<street1>2 W 5 th Ave</street1>
<street2>スイート300</street2>
<city>サンマテオ</city>
<state>カナダ</state>
<postal-code>94404</postal-code>
<attention nil="true"/>
<active type="boolean">true</active>
<business-group-name nil="true"/>
<vat-number>465456645</vat-number>
<local-tax-number></local-tax-number>
<country>
<id type="integer">22</id>
<code>BE</code>
<name>ベルギー</name>
</country>
<vat-country>
<id type="integer">223</id>
<code>US</code>
<name>米国</name>
</vat-country>
<content-groups type="array"/>
<created-by>
<id type="integer">122</id>
<login>matthew.otzwirk@coupa.com</login>
<email>matthew.otzwirk@coupa.com</email>
<employee-number nil="true"/>
<firstname>Matthew</firstname>
<lastname>Otzwirk</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</created-by>
<updated-by>
<id type="integer">122</id>
<login>matthew.otzwirk@coupa.com</login>
<email>matthew.otzwirk@coupa.com</email>
<employee-number nil="true"/>
<firstname>Matthew</firstname>
<lastname>Otzwirk</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</updated-by>
</primary-address>
<created-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number></employee-number>
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</created-by>
<updated-by>
<id type="integer">147</id>
<login>sourabh.pataskar@coupa.com</login>
<email>sourabh.pataskar@coupa.com</email>
<employee-number nil="true"/>
<firstname>Sourabh</firstname>
<lastname>パタスカー</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</updated-by>
</account-type>
</default-account>
<default-account-type>
<id type="integer">1</id>
2008 <created-at type="dateTime">-10 -27 T 13:10:01 - 07:00</created-at>
2016 <updated-at type="dateTime">-10 -27 T 02:38:59 - 07:00</updated-at>
<name>エースコーポレート</name>
<active type="boolean">true</active>
<currency>
<id type="integer">1</id>
<code>USD</code>
<decimals type="integer">2</decimals>
<updated-by>
<id type="integer">80</id>
<login>learnapi</login>
<email>learnapi@learnapi.com</email>
<employee-number nil="true"/>
<firstname>API</firstname>
<lastname>API</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</updated-by>
</currency>
<primary-contact>
<id type="integer">14</id>
2008 <created-at type="dateTime">-10 -27 T 13:10:01 - 07:00</created-at>
2016 <updated-at type="dateTime">-10 -12 T 14:35:18 - 07:00</updated-at>
<email>upgrade@coupa.com</email>
<name-prefix nil="true"/>
<name-suffix nil="true"/>
<name-additional nil="true"/>
<name-given>xxx</name-given>
<name-family>yyyy</name-family>
<name-fullname nil="true"/>
<notes nil="true"/>
<created-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number></employee-number>
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</created-by>
<updated-by>
<id type="integer">122</id>
<login>matthew.otzwirk@coupa.com</login>
<email>matthew.otzwirk@coupa.com</email>
<employee-number nil="true"/>
<firstname>Matthew</firstname>
<lastname>Otzwirk</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</updated-by>
</primary-contact>
<primary-address>
<id type="integer">184</id>
2008 <created-at type="dateTime">-10 -27 T 13:10:01 - 07:00</created-at>
2016 <updated-at type="dateTime">-03 -17 T 01:35:36 - 07:00</updated-at>
<name>xxx yyyy</name>
<location-code nil="true"/>
<street1>2 W 5 th Ave</street1>
<street2>スイート300</street2>
<city>サンマテオ</city>
<state>カナダ</state>
<postal-code>94404</postal-code>
<attention nil="true"/>
<active type="boolean">true</active>
<business-group-name nil="true"/>
<vat-number>465456645</vat-number>
<local-tax-number></local-tax-number>
<country>
<id type="integer">22</id>
<code>BE</code>
<name>ベルギー</name>
</country>
<vat-country>
<id type="integer">223</id>
<code>米国</code>
<name>米国</name>
</vat-country>
<content-groups type="array"/>
<created-by>
<id type="integer">122</id>
<login>matthew.otzwirk@coupa.com</login>
<email>matthew.otzwirk@coupa.com</email>
<employee-number nil="true"/>
<firstname>Matthew</firstname>
<lastname>Otzwirk</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</created-by>
<updated-by>
<id type="integer">122</id>
<login>matthew.otzwirk@coupa.com</login>
<email>matthew.otzwirk@coupa.com</email>
<employee-number nil="true"/>
<firstname>Matthew</firstname>
<lastname>Otzwirk</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</updated-by>
</primary-address>
<created-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number></employee-number>
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</created-by>
<updated-by>
<id type="integer">147</id>
<login>sourabh.pataskar@coupa.com</login>
<email>sourabh.pataskar@coupa.com</email>
<employee-number nil="true"/>
<firstname>Sourabh</firstname>
<lastname>パタスカー</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</updated-by>
</default-account-type>
<default-currency>
<id type="integer">1</id>
<code>USD</code>
<decimals type="integer">2</decimals>
<updated-by>
<id type="integer">80</id>
<login>learnapi</login>
<email>learnapi@learnapi.com</email>
<employee-number nil="true"/>
<firstname>API</firstname>
<lastname>API</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</updated-by>
</default-currency>
<department>
<id type="integer">2</id>
2008 <created-at type="dateTime">-10 -27 T 13:00:53 - 07:00</created-at>
2010 <updated-at type="dateTime">-03 -23 T 21:03:22 - 07:00</updated-at>
<name>販売</name>
<active type="boolean">true</active>
<created-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number></employee-number>
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</created-by>
<updated-by>
<id type="integer">1</id>
<login>coupasupport</login>
<email>upgrade+coupasupport@coupa.com</email>
<employee-number></employee-number>
<firstname>Coupa</firstname>
<lastname>サポート</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</updated-by>
</department>
<expenses-delegated-to type="array"/>
<can-expense-for type="array"/>
<content-groups type="array"/>
<account-groups type="array"/>
<approval-groups type="array"/>
<working-warehouses type="array"/>
<inventory-organizations type="array"/>
<updated-by>
<id type="integer">80</id>
<login>learnapi</login>
<email>learnapi@learnapi.com</email>
<employee-number nil="true"/>
<firstname>API</firstname>
<lastname>API</lastname>
<salesforce-id nil="true"/>
<avatar-thumb-url nil="true"/>
<gpo-entity></gpo-entity>
<radio-button-test></radio-button-test>
<subsidary></subsidary>
<function></function>
<seg3default></seg3default>
<username1></username1>
</updated-by>
</user>