Exemples de demandes/réponses - XML vs JSON
Vous trouverez ci-dessous des exemples de requêtes et de réponses JSON et XML, en utilisant l'objet User comme exemple. Les réponses peuvent être longues, alors utilisez la table des matières ci-dessous pour passer aux sections souhaitées.
Liste d'utilisateurs
uRL : http://dashmaster17-0.coupadev.com/api/users?limit=2
méthode : OBTENIR
Réponse JSON
[
{ "id" : 771,
"created-at" : "08/11/2016T11:28:50+02:00",
"updated-at" : "09/11/2016T16:35:40+02:00",
"connexion" : "testuser1",
"email" : "adf@gmail.com",
"purchase-user" : true,
"utilisateur-dépense" : false,
"sourcing-user" : false,
"utilisateur-inventaire" : false,
"numéro-employé" : "",
"firstname" : "texte",
"lastname" : "abc",
"fullname" : "texte abc",
"api-user" : false,
"active" : true,
"salesforce-id" : null,
"account-security-type" : 0,
"authentication-method" : "coupa_credentials",
"sso-identifier" : "899",
"default-locale" : "en",
« business-group-security-type » : 1,
"edit-invoice-on-quick-entry" : false,
"avatar-thumb-url" : null,
"mention-name" : "texte12",
"gpo-entity" : "",
"radio-button-test" : null,
"subvention" : "",
"fonction" : "",
"seg3default" : "",
"phone-work" : null,
"phone-mobile" : null,
"rôles" : [
{ "id" : 2,
"created-at" : "05/08/2011T19:46:31+03:00",
"updated-at" : "05/08/2011T19:46:31+03:00",
"nom" : "Admin",
"description" : "Accès complet au système pour configurer et maintenir l'application",
"omnipotent" : true,
"system-role" : true,
"mis à jour par" : { "id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T16:01:34+02:00",
"updated-at" : "28/10/2016T11:14:12+03:00"
},
"created-by" : null
},
{ "id" : 3,
"created-at" : "05/08/2011T19:46:31+03:00",
"updated-at" : "05/08/2011T19:46:31+03:00",
"nom" : "Utilisateur",
"description" : "Rôle standard pour tous les utilisateurs qui doivent créer et/ou approuver des demandes",
"omnipotent" : faux,
"system-role" : true,
"mis à jour par" : { "id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T16:01:34+02:00",
"updated-at" : "28/10/2016T11:14:12+03:00"
},
"created-by" : null
} ],
"manager" : { "id" : 629,
"login" : "gunab",
"firstname" : "gunab",
"lastname" : "acheteur",
"numéro-employé" : "",
"email" : "catestit8@gmail.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2016-11-01T17:07:03+02:00",
"updated-at" : "09/11/2016T09:40:36+02:00"
},
"default-address" : null,
"default-account" : null,
"default-account-type" : null,
"default-currency" : { "id" : 1,
"code" : "USD",
"décimales" : 2,
"mis à jour par" : { "id" : 80,
"connexion" : "learnapi",
"prénom" : "API",
"lastname" : "API",
"employee-number" : null,
"email" : "learnapi@learnapi.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "16/05/2013T01:05:17+03:00",
"updated-at" : "30/03/2016T12:35:20+03:00"
} },
"pcard" : null,
"département" : null,
"réquisition-approbation-limite" : { "id" : 35,
"created-at" : "2016-04-01T09:08:38+03:00",
"updated-at" : "2016-04-01T09:08:38+03:00",
"nom" : "0,00 AED",
"amount" : "0.00",
"subject" : "en-tête de demande",
"currency" : { "id" : 156,
"code" : "DAE",
"décimales" : 2,
"updated-by" : null
},
"created-by" : { "id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T16:01:34+02:00",
"updated-at" : "28/10/2016T11:14:12+03:00"
},
"mis à jour par" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T16:01:34+02:00",
"updated-at" : "28/10/2016T11:14:12+03:00"
}
},
"limite d'approbation des dépenses" : {
"id" : 36,
"created-at" : "2016-04-01T09:08:38+03:00",
"updated-at" : "2016-04-01T09:08:38+03:00",
"nom" : "0,00 AED (2)",
"amount" : "0.00",
"subject" : "expense_report",
"currency" : {
"id" : 156,
"code" : "DAE",
"décimales" : 2,
"updated-by" : null
},
"created-by" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T16:01:34+02:00",
"updated-at" : "28/10/2016T11:14:12+03:00"
},
"mis à jour par" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T16:01:34+02:00",
"updated-at" : "28/10/2016T11:14:12+03:00"
}
},
"limite d'approbation des factures" : {
"id" : 37,
"created-at" : "2016-04-01T09:08:38+03:00",
"updated-at" : "2016-04-01T09:08:38+03:00",
"nom" : "0,00 AED (3)",
"montant" : "0.00",
"subject" : "en-tête_facture",
"currency" : {
"id" : 156,
"code" : "DAE",
"décimales" : 2,
"updated-by" : null
},
"created-by" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T16:01:34+02:00",
"updated-at" : "28/10/2016T11:14:12+03:00"
},
"mis à jour par" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T16:01:34+02:00",
"updated-at" : "28/10/2016T11:14:12+03:00"
}
},
"réquisition-auto-approbation-limite" : {
"id" : 35,
"created-at" : "2016-04-01T09:08:38+03:00",
"updated-at" : "2016-04-01T09:08:38+03:00",
"nom" : "0,00 AED",
"montant" : "0.00",
"subject" : "en-tête de demande",
"currency" : {
"id" : 156,
"code" : "DAE",
"décimales" : 2,
"updated-by" : null
},
"created-by" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T16:01:34+02:00",
"updated-at" : "28/10/2016T11:14:12+03:00"
},
"mis à jour par" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T16:01:34+02:00",
"updated-at" : "28/10/2016T11:14:12+03:00"
}
},
"limite d'auto-approbation des dépenses" : {
"id" : 36,
"created-at" : "2016-04-01T09:08:38+03:00",
"updated-at" : "2016-04-01T09:08:38+03:00",
"nom" : "0,00 AED (2)",
"amount" : "0.00",
"subject" : "expense_report",
"currency" : {
"id" : 156,
"code" : "DAE",
"décimales" : 2,
"updated-by" : null
},
"created-by" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T16:01:34+02:00",
"updated-at" : "28/10/2016T11:14:12+03:00"
},
"mis à jour par" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T16:01:34+02:00",
"updated-at" : "28/10/2016T11:14:12+03:00"
}
},
"dépenses-déléguées-à" : [],
"can-expense-for" : [],
"content-groups" : [],
"account-groups" : [],
"groupes d'approbation" : [],
"working-warehouses" : [],
"inventory-organizations" : [],
"created-by" : {
"id" : 224,
"connexion" : "sneha.latha@coupa.com",
"prénom" : "Sneha",
"lastname" : "Latha",
"employee-number" : null,
"email" : "sneha.latha@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2016-10-12T09:20:37+03:00",
"updated-at" : "14/11/2016T09:21:00+02:00"
},
"mis à jour par" : {
"id" : 228,
"connexion" : "kuppusamy.sekaran@coupa.com",
"prénom" : "Kuppusamy",
"lastname" : "Sekaran",
"employee-number" : null,
"email" : "kuppusamy.sekaran@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2016-10-12T11:42:59+03:00",
"updated-at" : "14/11/2016T10:59:24+02:00"
},
"custom-field-8" : null,
"custom-field-7" : null,
"username1" : null
},
{
"id" : 808,
"created-at" : "2016-11-10T02:55:30+02:00",
"updated-at" : "2016-11-11T00:52:43+02:00",
"connexion" : "pfiuser1",
"email" : "aditya+r17-pfiuser@coupa.com",
"purchase-user" : true,
"utilisateur-dépense" : false,
"sourcing-user" : false,
"utilisateur-inventaire" : false,
"numéro-employé" : "",
"prénom" : "PFI",
"lastname" : "Utilisateur",
"fullname" : "Utilisateur PFI",
"api-user" : false,
"active" : true,
"salesforce-id" : null,
"account-security-type" : 0,
"authentication-method" : "coupa_credentials",
"sso-identifier" : "pfiuser1",
"default-locale" : "en",
« business-group-security-type » : 0,
"edit-invoice-on-quick-entry" : false,
"avatar-thumb-url" : null,
"mention-name" : "pfiuser",
"gpo-entity" : "",
"radio-button-test" : null,
"subvention" : "",
"fonction" : "",
"seg3default" : "",
"phone-work" : null,
"phone-mobile" : null,
"rôles" : [
{
"id" : 3,
"created-at" : "05/08/2011T19:46:31+03:00",
"updated-at" : "05/08/2011T19:46:31+03:00",
"nom" : "Utilisateur",
"description" : "Rôle standard pour tous les utilisateurs qui doivent créer et/ou approuver des demandes",
"omnipotent" : faux,
"system-role" : true,
"mis à jour par" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T16:01:34+02:00",
"updated-at" : "28/10/2016T11:14:12+03:00"
},
"created-by" : null
},
{
"id" : 10153,
"created-at" : "2016-11-11T00:52:22+02:00",
"updated-at" : "2016-11-11T00:52:22+02:00",
"nom" : "Analytique uniquement",
"description" : "",
"omnipotent" : faux,
"system-role" : false,
"mis à jour par" : {
"id" : 475,
"connexion" : "justin.mehta@coupa.com",
"prénom" : "Justin",
"lastname" : "Mehta",
"employee-number" : null,
"email" : "justin.mehta@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2016-10-20T20:55:27+03:00",
"updated-at" : "14/11/2016T09:56:55+02:00"
},
"created-by" : {
"id" : 475,
"connexion" : "justin.mehta@coupa.com",
"prénom" : "Justin",
"lastname" : "Mehta",
"employee-number" : null,
"email" : "justin.mehta@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2016-10-20T20:55:27+03:00",
"updated-at" : "14/11/2016T09:56:55+02:00"
}
}
],
"manager" : null,
"default-address" : null,
"default-account" : null,
"default-account-type" : null,
"default-currency" : {
"id" : 156,
"code" : "DAE",
"décimales" : 2,
"updated-by" : null
},
"pcard" : null,
"département" : null,
"limite D'APPROBATION DE LA demande" : {
"id" : 35,
"created-at" : "2016-04-01T09:08:38+03:00",
"updated-at" : "2016-04-01T09:08:38+03:00",
"name" : "0,00 AED",
"amount" : "0.00",
"subject" : "en-tête de demande",
"currency" : {
"id" : 156,
"code" : "DAE",
"décimales" : 2,
"updated-by" : null
},
"created-by" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T16:01:34+02:00",
"updated-at" : "28/10/2016T11:14:12+03:00"
},
"mis à jour par" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T16:01:34+02:00",
"updated-at" : "28/10/2016T11:14:12+03:00"
}
},
"limite d'approbation des dépenses" : {
"id" : 36,
"created-at" : "2016-04-01T09:08:38+03:00",
"updated-at" : "2016-04-01T09:08:38+03:00",
"nom" : "0,00 AED (2)",
"amount" : "0.00",
"subject" : "expense_report",
"currency" : {
"id" : 156,
"code" : "DAE",
"décimales" : 2,
"updated-by" : null
},
"created-by" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T16:01:34+02:00",
"updated-at" : "28/10/2016T11:14:12+03:00"
},
"mis à jour par" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T16:01:34+02:00",
"updated-at" : "28/10/2016T11:14:12+03:00"
}
},
"limite d'approbation des factures" : {
"id" : 37,
"created-at" : "2016-04-01T09:08:38+03:00",
"updated-at" : "2016-04-01T09:08:38+03:00",
"nom" : "0,00 AED (3)",
"amount" : "0.00",
"subject" : "en-tête_facture",
"currency" : {
"id" : 156,
"code" : "DAE",
"décimales" : 2,
"updated-by" : null
},
"created-by" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T16:01:34+02:00",
"updated-at" : "28/10/2016T11:14:12+03:00"
},
"mis à jour par" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T16:01:34+02:00",
"updated-at" : "28/10/2016T11:14:12+03:00"
}
},
"réquisition-auto-approbation-limite" : {
"id" : 35,
"created-at" : "2016-04-01T09:08:38+03:00",
"updated-at" : "2016-04-01T09:08:38+03:00",
"name" : "0,00 AED",
"amount" : "0.00",
"subject" : "en-tête de demande",
"currency" : {
"id" : 156,
"code" : "DAE",
"décimales" : 2,
"updated-by" : null
},
"created-by" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T16:01:34+02:00",
"updated-at" : "28/10/2016T11:14:12+03:00"
},
"mis à jour par" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T16:01:34+02:00",
"updated-at" : "28/10/2016T11:14:12+03:00"
}
},
"limite d'auto-approbation des dépenses" : {
"id" : 36,
"created-at" : "2016-04-01T09:08:38+03:00",
"updated-at" : "2016-04-01T09:08:38+03:00",
"nom" : "0,00 AED (2)",
"amount" : "0.00",
"subject" : "expense_report",
"currency" : {
"id" : 156,
"code" : "DAE",
"décimales" : 2,
"updated-by" : null
},
"created-by" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T16:01:34+02:00",
"updated-at" : "28/10/2016T11:14:12+03:00"
},
"mis à jour par" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T16:01:34+02:00",
"updated-at" : "28/10/2016T11:14:12+03:00"
}
},
"dépenses-déléguées-à" : [],
"can-expense-for" : [],
"content-groups" : [],
"account-groups" : [],
"groupes d'approbation" : [],
"working-warehouses" : [],
"inventory-organizations" : [],
"created-by" : {
"id" : 390,
"connexion" : "aditya.mandavilli@coupa.com",
"prénom" : 'Aditya',
"lastname" : "Mandavilli",
"employee-number" : null,
"email" : "aditya.mandavilli@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "17/10/2016T20:24:54+03:00",
"updated-at" : "14/11/2016T01:40:08+02:00"
},
"mis à jour par" : {
"id" : 475,
"connexion" : "justin.mehta@coupa.com",
"prénom" : "Justin",
"lastname" : "Mehta",
"employee-number" : null,
"email" : "justin.mehta@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2016-10-20T20:55:27+03:00",
"updated-at" : "14/11/2016T09:56:55+02:00"
},
"custom-field-8" : null,
"custom-field-7" : null,
"username1" : null
}
]
Réponse XML
<?xml version="1.0" encoding="UTF-8"?><users type="array">
<user>
<id type="integer">771</id>
<created-at type="dateTime">08/11/2016T11:28:50+02:00</created-at>
<updated-at type="dateTime">09/11/2016T16:35:40+02:00</updated-at>
<login>testuser1</login>
<email>adf@gmail.com</email>
<purchasing-user type="boolean">true</purchasing-user>
<expense-user type="boolean">faux</expense-user>
<sourcing-user type="boolean">faux</sourcing-user>
<inventory-user type="boolean">faux</inventory-user>
<employee-number />
<firstname>texte</firstname>
<lastname>abc</lastname>
<fullname>texte abc</fullname>
<api-user type="boolean">faux</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>fr</default-locale>
<business-group-security-type type="integer">1</business-group-security-type>
<edit-invoice-on-quick-entry type="boolean">faux</edit-invoice-on-quick-entry>
<avatar-thumb-url nil="true" />
<mention-name>text12</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>
<created-at type="dateTime">2011-08-05T19:46:31+03:00</created-at>
<updated-at type="dateTime">2011-08-05T19:46:31+03:00</updated-at>
<name>Admin</name>
<description>Accès complet au système pour configurer et maintenir l'application</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>Soutien</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>
<created-at type="dateTime">2011-08-05T19:46:31+03:00</created-at>
<updated-at type="dateTime">2011-08-05T19:46:31+03:00</updated-at>
<name>Utilisateur</name>
<description>Rôle standard pour tous les utilisateurs qui doivent créer et/ou approuver des demandes</description>
<omnipotent type="boolean">faux</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>Assistance</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>gunab</login>
<email>catestit8@gmail.com</email>
<employee-number />
<firstname>gunab</firstname>
<lastname>acheteur</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>
<created-at type="dateTime">2016-04-01T09:08:38+03:00</created-at>
<updated-at type="dateTime">2016-04-01T09:08:38+03:00</updated-at>
<name>0,00 AED</name>
<amount type="decimal">0,00</amount>
<subject>en-tête_de_demande</subject>
<currency>
<id type="integer">156</id>
<code>DAE</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>Assistance</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>Soutien</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>
<created-at type="dateTime">2016-04-01T09:08:38+03:00</created-at>
<updated-at type="dateTime">2016-04-01T09: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>DAE</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>Assistance</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>Soutien</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>
<created-at type="dateTime">2016-04-01T09:08:38+03:00</created-at>
<updated-at type="dateTime">2016-04-01T09:08:38+03:00</updated-at>
<name>0,00 AED (3)</name>
<amount type="decimal">0,00</amount>
<subject>en-tête_de_facture</subject>
<currency>
<id type="integer">156</id>
<code>DAE</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>Soutien</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>Soutien</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>
<created-at type="dateTime">2016-04-01T09:08:38+03:00</created-at>
<updated-at type="dateTime">2016-04-01T09:08:38+03:00</updated-at>
<name>0,00 AED</name>
<amount type="decimal">0,00</amount>
<subject>en-tête_de_demande</subject>
<currency>
<id type="integer">156</id>
<code>DAE</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>Soutien</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>Soutien</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>
<created-at type="dateTime">2016-04-01T09:08:38+03:00</created-at>
<updated-at type="dateTime">2016-04-01T09: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>DAE</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>Soutien</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>Assistance</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>Sneha</firstname>
<lastname>Latha</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>Sekaran</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>
<created-at type="dateTime">2016-11-10T02:55:30+02:00</created-at>
<updated-at type="dateTime">2016-11-11T00:52:43+02:00</updated-at>
<login>pfiuser1</login>
<email>aditya+r17-pfiuser@coupa.com</email>
<purchasing-user type="boolean">true</purchasing-user>
<expense-user type="boolean">faux</expense-user>
<sourcing-user type="boolean">faux</sourcing-user>
<inventory-user type="boolean">faux</inventory-user>
<employee-number />
<firstname>PFI</firstname>
<lastname>Utilisateur</lastname>
<fullname>Utilisateur PFI</fullname>
<api-user type="boolean">faux</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>pfiuser1</sso-identifier>
<default-locale>fr</default-locale>
<business-group-security-type type="integer">0</business-group-security-type>
<edit-invoice-on-quick-entry type="boolean">faux</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>
<created-at type="dateTime">2011-08-05T19:46:31+03:00</created-at>
<updated-at type="dateTime">2011-08-05T19:46:31+03:00</updated-at>
<name>Utilisateur</name>
<description>Rôle standard pour tous les utilisateurs qui doivent créer et / ou approuver des demandes</description>
<omnipotent type="boolean">faux</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>Soutien</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>
<created-at type="dateTime">2016-11-11T00:52:22+02:00</created-at>
<updated-at type="dateTime">2016-11-11T00:52:22+02:00</updated-at>
<name>Analytics uniquement</name>
<description />
<omnipotent type="boolean">faux</omnipotent>
<system-role type="boolean">faux</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>Justin</firstname>
<lastname>Mehta</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>Justin</firstname>
<lastname>Mehta</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>DAE</code>
<decimals type="integer">2</decimals>
</default-currency>
<requisition-approval-limit>
<id type="integer">35</id>
<created-at type="dateTime">2016-04-01T09:08:38+03:00</created-at>
<updated-at type="dateTime">2016-04-01T09:08:38+03:00</updated-at>
<name>0,00 AED</name>
<amount type="decimal">0,00</amount>
<subject>en-tête_de_demande</subject>
<currency>
<id type="integer">156</id>
<code>DAE</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>Soutien</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>Soutien</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>
<created-at type="dateTime">2016-04-01T09:08:38+03:00</created-at>
<updated-at type="dateTime">2016-04-01T09: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>DAE</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>Assistance</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>Assistance</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>
<created-at type="dateTime">2016-04-01T09:08:38+03:00</created-at>
<updated-at type="dateTime">2016-04-01T09:08:38+03:00</updated-at>
<name>0,00 AED (3)</name>
<amount type="decimal">0,00</amount>
<subject>en-tête_de_facture</subject>
<currency>
<id type="integer">156</id>
<code>DAE</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>Assistance</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>Soutien</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>
<created-at type="dateTime">2016-04-01T09:08:38+03:00</created-at>
<updated-at type="dateTime">2016-04-01T09:08:38+03:00</updated-at>
<name>0,00 AED</name>
<amount type="decimal">0,00</amount>
<subject>en-tête_de_demande</subject>
<currency>
<id type="integer">156</id>
<code>DAE</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>Assistance</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>Soutien</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>
<created-at type="dateTime">2016-04-01T09:08:38+03:00</created-at>
<updated-at type="dateTime">2016-04-01T09: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>DAE</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>Soutien</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>Soutien</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>Justin</firstname>
<lastname>Mehta</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>
Afficher utilisateur
uRL : http://dashmaster17-0.coupadev.com/api/users/5
méthode : OBTENIR
Réponse JSON
{
"id" : 5,
"created-at" : "27/10/2008T22:54:10+02:00",
"updated-at" : "2013-04-19T22:02:26+03:00",
"login" : "tkennedy",
"email" : "upgrade+tk@coupa.com",
"purchase-user" : true,
"utilisateur-dépense" : false,
"sourcing-user" : false,
"utilisateur-inventaire" : false,
"numéro-employé" : "",
"prénom" : "Tommy (responsable commercial)",
"lastname" : 'Kennedy',
"fullname" : "Tommy (Sales Lead) Kennedy",
"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" : "tommy(saleslead)kennedy",
"gpo-entity" : "",
"radio-button-test" : null,
"subsidiary" : null,
"function" : null,
"seg3default" : null,
"phone-work" : {
"id" : 5,
"created-at" : "27/10/2008T22:54:10+02:00",
"updated-at" : "14/12/2012T00:27:57+02:00",
"code pays" : "1",
"area-code" : "650",
"nombre" : "5856306",
"extension" : null,
"created-by" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T16:01:34+02:00",
"updated-at" : "28/10/2016T11:14:12+03:00"
},
"mis à jour par" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T16:01:34+02:00",
"updated-at" : "28/10/2016T11:14:12+03:00"
}
},
"phone-mobile" : {
"id" : 30,
"created-at" : "2008-10-28T19:59:47+02:00",
"updated-at" : "14/12/2012T00:27:57+02:00",
"code pays" : "1",
"area-code" : "650",
"nombre" : "5856306",
"extension" : null,
"created-by" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T16:01:34+02:00",
"updated-at" : "28/10/2016T11:14:12+03:00"
},
"mis à jour par" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T16:01:34+02:00",
"updated-at" : "28/10/2016T11:14:12+03:00"
}
},
"rôles" : [
{
"id" : 3,
"created-at" : "05/08/2011T19:46:31+03:00",
"updated-at" : "05/08/2011T19:46:31+03:00",
"nom" : "Utilisateur",
"description" : "Rôle standard pour tous les utilisateurs qui doivent créer et/ou approuver des demandes",
"omnipotent" : faux,
"system-role" : true,
"mis à jour par" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T16:01:34+02:00",
"updated-at" : "28/10/2016T11:14:12+03:00"
}
},
{
"id" : 8,
"created-at" : "05/08/2011T19:46:31+03:00",
"updated-at" : "31/07/2012T19:40:04+03:00",
"nom" : "Modifier la demande en tant qu'approbateur",
"description" : "Ajoute la possibilité de modifier une demande lorsque vous l'approuvez",
"omnipotent" : faux,
"system-role" : true,
"mis à jour par" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T16:01:34+02:00",
"updated-at" : "28/10/2016T11:14:12+03:00"
}
}
],
"manager" : {
"id" : 4,
"connexion" : "sjones",
"prénom" : "Sally (vice-présidente des ventes)",
"lastname" : "Jones",
"numéro-employé" : "",
"email" : "upgradet+sj@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "27/10/2008T22:54:10+02:00",
"updated-at" : "2016-10-21T21:47:04+03:00"
},
"default-address" : {
"id" : 16,
"created-at" : "27/10/2008T22:00:19+02:00",
"updated-at" : "2016-11-10T07:42:35+02:00",
"nom" : "Siège social",
"location-code" : null,
"street1" : "28 Nevada Blvd",
"street2" : "",
"ville" : "Laughlin",
"state" : "NV",
"code postal" : "89028",
"attention" : "",
"active" : true,
"nom-groupe-entreprise" : "Tout le monde",
"numéro de cuve" : nul,
"local-tax-number" : null,
"pays" : {
"id" : 223,
"code" : "États-Unis",
"nom" : "États-Unis"
},
"pays-cuve" : nul,
"content-groups" : [
{
"id" : 1,
"created-at" : "2006-08-28T05:40:04+03:00",
"updated-at" : "17/08/2015T11:07:10+03:00",
"nom" : "Tout le monde",
"description" : "Tous les utilisateurs peuvent voir les documents attribués à ce groupe",
"mis à jour par" : {
"id" : 80,
"connexion" : "learnapi",
"prénom" : "API",
"lastname" : "API",
"employee-number" : null,
"email" : "learnapi@learnapi.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "16/05/2013T01:05:17+03:00",
"updated-at" : "30/03/2016T12:35:20+03:00"
}
}
],
"created-by" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T16:01:34+02:00",
"updated-at" : "28/10/2016T11:14:12+03:00"
},
"mis à jour par" : {
"id" : 157,
"connexion" : "vijayashree.christopher@coupa.com",
"firstname" : "vijayashree",
"lastname" : "Christopher",
"employee-number" : null,
"email" : "vijayashree.christopher@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2016-10-11T08:02:51+03:00",
"updated-at" : "14/11/2016T08:43:47+02:00"
}
},
"default-account" : {
"id" : null,
"created-at" : null,
"updated-at" : null,
"name" : null,
"code" : "SF-Ventes-Indirect",
"active" : true,
"segment-1" : "SF",
"segment-2" : "Ventes",
"segment-3" : "Indirect",
"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" : "27/10/2008T22:10:01+02:00",
"updated-at" : "08/11/2016T20:56:40+02:00",
"name" : "Ace Corporate",
"active" : true,
"currency" : {
"id" : 1,
"code" : "USD",
"décimales" : 2,
"mis à jour par" : {
"id" : 80,
"connexion" : "learnapi",
"prénom" : "API",
"lastname" : "API",
"employee-number" : null,
"email" : "learnapi@learnapi.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "16/05/2013T01:05:17+03:00",
"updated-at" : "30/03/2016T12:35:20+03:00"
}
},
"contact principal" : {
"id" : 14,
"created-at" : "27/10/2008T22:10:01+02:00",
"updated-at" : "08/11/2016T20:56:40+02:00",
"email" : "upgrade@coupa.com",
"name-prefix" : null,
"name-suffix" : null,
"name-additional" : null,
"nom-donné" : "xxx",
"name-family" : "aaaa",
"name-fullname" : null,
"notes" : null,
"phone-work" : null,
"phone-mobile" : null,
"phone-fax" : null,
"created-by" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T16:01:34+02:00",
"updated-at" : "28/10/2016T11:14:12+03:00"
},
"mis à jour par" : {
"id" : 195,
"connexion" : "tim.durkin@coupa.com",
"prénom" : "Timothée",
"lastname" : "Durkin",
"employee-number" : null,
"email" : "tim.durkin@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2016-10-11T19:30:34+03:00",
"updated-at" : « 2016-11-10T18:18:36+02:00 »
}
},
"adresse-principale" : {
"id" : 184,
"created-at" : "27/10/2008T22:10:01+02:00",
"updated-at" : "08/11/2016T20:56:40+02:00",
"name" : "xxx aaaa",
"location-code" : null,
"street1" : "2 W 5th Ave",
"street2" : "Suite 300",
"ville" : "San Mateo",
"state" : "CA",
"code postal" : "94404",
"attention" : nul,
"active" : true,
"business-group-name" : null,
"numéro de cuve" : "465456645",
"numéro-impôt-local" : "",
"pays" : {
"id" : 22,
"code" : "BE",
"nom" : "Belgique"
},
"pays-cuve" : {
"id" : 223,
"code" : "États-Unis",
"name" : "États-Unis"
},
"content-groups" : [],
"created-by" : {
"id" : 122,
"connexion" : "matthew.otzwirk@coupa.com",
"prénom" : "Matthew",
"lastname" : "Otzwirk",
"employee-number" : null,
"email" : "matthew.otzwirk@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "27/04/2016T20:54:43+03:00",
"updated-at" : « 2016-11-09T23:23:32+02:00 »
},
"mis à jour par" : {
"id" : 195,
"connexion" : "tim.durkin@coupa.com",
"prénom" : "Timothée",
"lastname" : "Durkin",
"employee-number" : null,
"email" : "tim.durkin@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2016-10-11T19:30:34+03:00",
"updated-at" : « 2016-11-10T18:18:36+02:00 »
}
},
"created-by" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T16:01:34+02:00",
"updated-at" : "28/10/2016T11:14:12+03:00"
},
"mis à jour par" : {
"id" : 195,
"connexion" : "tim.durkin@coupa.com",
"prénom" : "Timothée",
"lastname" : "Durkin",
"employee-number" : null,
"email" : "tim.durkin@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2016-10-11T19:30:34+03:00",
"updated-at" : « 2016-11-10T18:18:36+02:00 »
}
}
},
"default-account-type" : {
"id" : 1,
"created-at" : "27/10/2008T22:10:01+02:00",
"updated-at" : "08/11/2016T20:56:40+02:00",
"name" : "Ace Corporate",
"active" : true,
"currency" : {
"id" : 1,
"code" : "USD",
"décimales" : 2,
"mis à jour par" : {
"id" : 80,
"connexion" : "learnapi",
"prénom" : "API",
"lastname" : "API",
"employee-number" : null,
"email" : "learnapi@learnapi.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "16/05/2013T01:05:17+03:00",
"updated-at" : "30/03/2016T12:35:20+03:00"
}
},
"contact principal" : {
"id" : 14,
"created-at" : "27/10/2008T22:10:01+02:00",
"updated-at" : "08/11/2016T20:56:40+02:00",
"email" : "upgrade@coupa.com",
"name-prefix" : null,
"name-suffix" : null,
"name-additional" : null,
"nom-donné" : "xxx",
"name-family" : "aaaa",
"name-fullname" : null,
"notes" : null,
"phone-work" : null,
"phone-mobile" : null,
"phone-fax" : null,
"created-by" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T16:01:34+02:00",
"updated-at" : "28/10/2016T11:14:12+03:00"
},
"mis à jour par" : {
"id" : 195,
"connexion" : "tim.durkin@coupa.com",
"prénom" : "Timothée",
"lastname" : "Durkin",
"employee-number" : null,
"email" : "tim.durkin@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2016-10-11T19:30:34+03:00",
"updated-at" : « 2016-11-10T18:18:36+02:00 »
}
},
"adresse-principale" : {
"id" : 184,
"created-at" : "27/10/2008T22:10:01+02:00",
"updated-at" : "08/11/2016T20:56:40+02:00",
"name" : "xxx aaaa",
"location-code" : null,
"street1" : "2 W 5th Ave",
"street2" : "Suite 300",
"ville" : "San Mateo",
"state" : "CA",
"code postal" : "94404",
"attention" : nul,
"active" : true,
"business-group-name" : null,
"numéro de cuve" : "465456645",
"numéro-impôt-local" : "",
"pays" : {
"id" : 22,
"code" : "BE",
"nom" : "Belgique"
},
"pays-cuve" : {
"id" : 223,
"code" : "États-Unis",
"nom" : "États-Unis"
},
"content-groups" : [],
"created-by" : {
"id" : 122,
"connexion" : "matthew.otzwirk@coupa.com",
"prénom" : "Matthew",
"lastname" : "Otzwirk",
"employee-number" : null,
"email" : "matthew.otzwirk@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "27/04/2016T20:54:43+03:00",
"updated-at" : « 2016-11-09T23:23:32+02:00 »
},
"mis à jour par" : {
"id" : 195,
"connexion" : "tim.durkin@coupa.com",
"prénom" : "Timothée",
"lastname" : "Durkin",
"employee-number" : null,
"email" : "tim.durkin@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2016-10-11T19:30:34+03:00",
"updated-at" : « 2016-11-10T18:18:36+02:00 »
}
},
"created-by" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T16:01:34+02:00",
"updated-at" : "28/10/2016T11:14:12+03:00"
},
"mis à jour par" : {
"id" : 195,
"connexion" : "tim.durkin@coupa.com",
"prénom" : "Timothée",
"lastname" : "Durkin",
"employee-number" : null,
"email" : "tim.durkin@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2016-10-11T19:30:34+03:00",
"updated-at" : « 2016-11-10T18:18:36+02:00 »
}
},
"default-currency" : {
"id" : 1,
"code" : "USD",
"décimales" : 2,
"mis à jour par" : {
"id" : 80,
"connexion" : "learnapi",
"prénom" : "API",
"lastname" : "API",
"employee-number" : null,
"email" : "learnapi@learnapi.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "16/05/2013T01:05:17+03:00",
"updated-at" : "30/03/2016T12:35:20+03:00"
}
},
"département" : {
"id" : 2,
"created-at" : "27/10/2008T22:00:53+02:00",
"updated-at" : "2010-03-24T06:03:22+02:00",
"nom" : "Ventes",
"active" : true,
"created-by" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T16:01:34+02:00",
"updated-at" : "28/10/2016T11:14:12+03:00"
},
"mis à jour par" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T16:01:34+02:00",
"updated-at" : "28/10/2016T11:14:12+03:00"
}
},
"dépenses-déléguées-à" : [],
"can-expense-for" : [],
"content-groups" : [],
"account-groups" : [],
"groupes d'approbation" : [],
"working-warehouses" : [],
"inventory-organizations" : [],
"mis à jour par" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T16:01:34+02:00",
"updated-at" : "28/10/2016T11:14:12+03:00"
}
}
Réponse XML
<?xml version="1.0" encoding="UTF-8"?>
<user>
<id type="integer">5</id>
<created-at type="dateTime">27/10/2008T22:54:10+02:00</created-at>
<updated-at type="dateTime">2013-04-19T22: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">faux</expense-user>
<sourcing-user type="boolean">faux</sourcing-user>
<inventory-user type="boolean">faux</inventory-user>
<employee-number></employee-number>
<firstname>Tommy (responsable commercial)</firstname>
<lastname>Kennedy</lastname>
<fullname>Tommy (responsable des ventes) Kennedy</fullname>
<api-user type="boolean">faux</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">faux</edit-invoice-on-quick-entry>
<avatar-thumb-url nil="true"/>
<mention-name>tommy(saleslead)kennedy</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">27/10/2008T22:54:10+02:00</created-at>
<updated-at type="dateTime">14/12/2012T00: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>Assistance</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>Assistance</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>
<created-at type="dateTime">2008-10-28T19:59:47+02:00</created-at>
<updated-at type="dateTime">14/12/2012T00: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>Assistance</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>Assistance</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>
<created-at type="dateTime">2011-08-05T19:46:31+03:00</created-at>
<updated-at type="dateTime">2011-08-05T19:46:31+03:00</updated-at>
<name>Utilisateur</name>
<description>Rôle standard pour tous les utilisateurs qui doivent créer et/ou approuver des demandes</description>
<omnipotent type="boolean">faux</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>Assistance</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>
<created-at type="dateTime">2011-08-05T19:46:31+03:00</created-at>
<updated-at type="dateTime">31/07/2012T19:40:04+03:00</updated-at>
<name>Modifier la demande en tant qu'approbateur</name>
<description>Ajoute la possibilité de modifier une demande lorsque vous l'approuvez</description>
<omnipotent type="boolean">faux</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>Assistance</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>Sally (vice-présidente des ventes)</firstname>
<lastname>Jones</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">27/10/2008T22:00:19+02:00</created-at>
<updated-at type="dateTime">2016-11-10T07:42:35+02:00</updated-at>
<name>Siège social</name>
<location-code nil="true"/>
<street1>28 Nevada Blvd</street1>
<street2></street2>
<city>Laughlin</city>
<state>NV</state>
<postal-code>89028</postal-code>
<attention></attention>
<active type="boolean">true</active>
<business-group-name>Tout le monde</business-group-name>
<vat-number nil="true"/>
<local-tax-number nil="true"/>
<country>
<id type="integer">223</id>
<code>États-Unis</code>
<name>États-Unis</name>
</country>
<content-groups type="array">
<content-group>
<id type="integer">1</id>
<created-at type="dateTime">2006-08-28T05:40:04+03:00</created-at>
<updated-at type="dateTime">17/08/2015T11:07:10+03:00</updated-at>
<name>Tout le monde</name>
<description>Tous les utilisateurs peuvent voir les documents attribués à ce groupe</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>Assistance</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>Christopher</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"/>
<code>SF-Ventes-Indirect</code>
<active type="boolean">true</active>
<segment-1>SF</segment-1>
<segment-2>Ventes</segment-2>
<segment-3>Indirect</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">27/10/2008T22:10:01+02:00</created-at>
<updated-at type="dateTime">08/11/2016T20:56:40+02:00</updated-at>
<name>Ace Corporate</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">27/10/2008T22:10:01+02:00</created-at>
<updated-at type="dateTime">08/11/2016T20: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>yyy</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>Soutien</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>Timothy</firstname>
<lastname>Durkin</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">27/10/2008T22:10:01+02:00</created-at>
<updated-at type="dateTime">08/11/2016T20:56:40+02:00</updated-at>
<name>xxx yyy</name>
<location-code nil="true"/>
<street1>2 W 5th Ave</street1>
<street2>Suite 300</street2>
<city>San Mateo</city>
<state>CA</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>Belgique</name>
</country>
<vat-country>
<id type="integer">223</id>
<code>États-Unis</code>
<name>États-Unis</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>Timothy</firstname>
<lastname>Durkin</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>Assistance</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>Timothy</firstname>
<lastname>Durkin</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">27/10/2008T22:10:01+02:00</created-at>
<updated-at type="dateTime">08/11/2016T20:56:40+02:00</updated-at>
<name>Ace Corporate</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">27/10/2008T22:10:01+02:00</created-at>
<updated-at type="dateTime">08/11/2016T20: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>yyy</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>Soutien</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>Timothy</firstname>
<lastname>Durkin</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">27/10/2008T22:10:01+02:00</created-at>
<updated-at type="dateTime">08/11/2016T20:56:40+02:00</updated-at>
<name>xxx yyy</name>
<location-code nil="true"/>
<street1>2 W 5th Ave</street1>
<street2>Suite 300</street2>
<city>San Mateo</city>
<state>CA</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>Belgique</name>
</country>
<vat-country>
<id type="integer">223</id>
<code>États-Unis</code>
<name>États-Unis</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>Timothy</firstname>
<lastname>Durkin</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>Soutien</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>Timothy</firstname>
<lastname>Durkin</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">27/10/2008T22:00:53+02:00</created-at>
<updated-at type="dateTime">2010-03-24T06:03:22+02:00</updated-at>
<name>Ventes</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>Assistance</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>Assistance</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>Assistance</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>
Création de l'utilisateur
url : /api/users
méthode : PUBLIER
Demande JSON
{
"connexion" : "test1@coupa.com",
"email" : "test1@coupa.com",
"purchase-user" : true,
"firstname" : "test1",
"lastname" : "user1"
}
Réponse JSON
{
"id" : 606,
"created-at" : "14/11/2016T11:53:40-08:00",
"updated-at" : "14/11/2016T11:53:40-08:00",
"connexion" : "test1@coupa.com",
"email" : "test1@coupa.com",
"purchase-user" : true,
"utilisateur-dépense" : false,
"sourcing-user" : false,
"utilisateur-inventaire" : false,
"employee-number" : null,
"firstname" : "test1",
"lastname" : "utilisateur1",
"nom complet" : "test1 user1",
"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" : "test1user1",
"gpo-entity" : null,
"radio-button-test" : null,
"subsidiary" : null,
"function" : null,
"seg3default" : null,
"rôles" : [
{
"id" : 3,
"created-at" : "05/08/2011T09:46:31-07:00",
"updated-at" : "05/08/2011T09:46:31-07:00",
"nom" : "Utilisateur",
"description" : "Rôle standard pour tous les utilisateurs qui doivent créer et/ou approuver des demandes",
"omnipotent" : faux,
"system-role" : true,
"mis à jour par" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T06:01:34-08:00",
"updated-at" : "14/11/2016T11:52:00-08:00"
}
}
],
"dépenses-déléguées-à" : [],
"can-expense-for" : [],
"content-groups" : [],
"account-groups" : [],
"groupes d'approbation" : [],
"working-warehouses" : [],
"inventory-organizations" : [],
"created-by" : {
"id" : 80,
"connexion" : "learnapi",
"prénom" : "API",
"lastname" : "API",
"employee-number" : null,
"email" : "learnapi@learnapi.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "15/05/2013T15:05:17-07:00",
"updated-at" : "30/03/2016T02:35:20-07:00"
},
"mis à jour par" : {
"id" : 80,
"connexion" : "learnapi",
"prénom" : "API",
"lastname" : "API",
"employee-number" : null,
"email" : "learnapi@learnapi.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "15/05/2013T15:05:17-07:00",
"updated-at" : "30/03/2016T02:35:20-07:00"
}
}
Requête XML
<user>
<login>test2@coupa.com</login>
<email>test2@coupa.com</email>
<purchasing-user>true</purchasing-user>
<firstname>test2</firstname>
<lastname>user2</lastname>
</user>
Réponse XML
<?xml version="1.0" encoding="UTF-8"?>
<user>
<id type="integer">607</id>
<created-at type="dateTime">2016-11-14T11:58:38-08:00</created-at>
<updated-at type="dateTime">2016-11-14T11: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">faux</expense-user>
<sourcing-user type="boolean">faux</sourcing-user>
<inventory-user type="boolean">faux</inventory-user>
<employee-number nil="true"/>
<firstname>test2</firstname>
<lastname>user2</lastname>
<fullname>test2 user2</fullname>
<api-user type="boolean">faux</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">faux</edit-invoice-on-quick-entry>
<avatar-thumb-url nil="true"/>
<mention-name>test2user2</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>
<created-at type="dateTime">2011-08-05T09:46:31-07:00</created-at>
<updated-at type="dateTime">2011-08-05T09:46:31-07:00</updated-at>
<name>Utilisateur</name>
<description>Rôle standard pour tous les utilisateurs qui doivent créer et/ou approuver des demandes</description>
<omnipotent type="boolean">faux</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>Assistance</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>
Créer par l'utilisateur avec des erreurs
url : /api/users
méthode : PUBLIER
Demande JSON
{
"connexion" : "test1@coupa.com",
"email" : "test1@coupa.com",
"purchase-user" : true,
"firstname" : "test1",
"lastname" : "user1"
}
Réponse JSON
{
"errors" : {
"utilisateur" : [
"La connexion a déjà été prise",
"L'e-mail a déjà été utilisé"
]
}
}
Requête XML
<user>
<login>test1@coupa.com</login>
<email>test1@coupa.com</email>
<purchasing-user>true</purchasing-user>
<firstname>test1</firstname>
<lastname>user1</lastname>
</user>
Réponse 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>
Mise à jour de l'utilisateur
url : /api/users/5
méthode : METTRE
Demande JSON
{
"firstname" : "test2",
"lastname" : "user2"
}
Réponse JSON
{
"id" : 5,
"created-at" : "27/10/2008T13:54:10-07:00",
"updated-at" : "15/11/2016T06:45:11-08:00",
"login" : "tkennedy",
"email" : "upgrade+tk@coupa.com",
"purchase-user" : true,
"utilisateur-dépense" : false,
"sourcing-user" : false,
"utilisateur-inventaire" : false,
"numéro-employé" : "",
"firstname" : "test2",
"lastname" : "utilisateur2",
"nom complet" : "test2 user2",
"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" : "tommy(saleslead)kennedy",
"gpo-entity" : "",
"radio-button-test" : null,
"subsidiary" : null,
"function" : null,
"seg3default" : null,
"phone-work" : {
"id" : 5,
"created-at" : "27/10/2008T13:54:10-07:00",
"updated-at" : "13/12/2012T14:27:57-08:00",
"code pays" : "1",
"area-code" : "650",
"numéro" : "5856306",
"extension" : null,
"created-by" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T06:01:34-08:00",
"updated-at" : "14/11/2016T11:52:00-08:00"
},
"mis à jour par" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T06:01:34-08:00",
"updated-at" : "14/11/2016T11:52:00-08:00"
}
},
"phone-mobile" : {
"id" : 30,
"created-at" : "2008-10-28T10:59:47-07:00",
"updated-at" : "13/12/2012T14:27:57-08:00",
"code pays" : "1",
"area-code" : "650",
"nombre" : "5856306",
"extension" : null,
"created-by" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T06:01:34-08:00",
"updated-at" : "14/11/2016T11:52:00-08:00"
},
"mis à jour par" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T06:01:34-08:00",
"updated-at" : "14/11/2016T11:52:00-08:00"
}
},
"rôles" : [
{
"id" : 3,
"created-at" : "05/08/2011T09:46:31-07:00",
"updated-at" : "05/08/2011T09:46:31-07:00",
"nom" : "Utilisateur",
"description" : "Rôle standard pour tous les utilisateurs qui doivent créer et/ou approuver des demandes",
"omnipotent" : faux,
"system-role" : true,
"mis à jour par" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T06:01:34-08:00",
"updated-at" : "14/11/2016T11:52:00-08:00"
}
},
{
"id" : 8,
"created-at" : "05/08/2011T09:46:31-07:00",
"updated-at" : "31/07/2012T09:40:04-07:00",
"name" : "Modifier la demande en tant qu'approbateur",
"description" : "Ajoute la possibilité de modifier une demande lorsque vous l'approuvez",
"omnipotent" : faux,
"system-role" : true,
"mis à jour par" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T06:01:34-08:00",
"updated-at" : "14/11/2016T11:52:00-08:00"
}
}
],
"manager" : {
"id" : 4,
"connexion" : "sjones",
"prénom" : "Sally (vice-présidente des ventes)",
"lastname" : "Jones",
"numéro-employé" : "",
"email" : "upgradet+sj@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "27/10/2008T13:54:10-07:00",
"updated-at" : "2016-10-21T11:47:04-07:00"
},
"default-address" : {
"id" : 16,
"created-at" : "27/10/2008T13:00:19-07:00",
"updated-at" : "2009-07-11T13:33:25-07:00",
"name" : "Siège social",
"location-code" : null,
"street1" : "28 Nevada Blvd",
"street2" : "",
"ville" : "Laughlin",
"state" : "NV",
"code postal" : "89028",
"attention" : "",
"active" : true,
"nom-groupe-entreprise" : "Tout le monde",
"numéro de cuve" : nul,
"local-tax-number" : null,
"pays" : {
"id" : 223,
"code" : "États-Unis",
"nom" : "États-Unis"
},
"pays-cuve" : nul,
"content-groups" : [
{
"id" : 1,
"created-at" : "27/08/2006T19:40:04-07:00",
"updated-at" : "17/08/2015T01:07:10-07:00",
"name" : "Tout le monde",
"description" : "Tous les utilisateurs peuvent voir les documents attribués à ce groupe",
"mis à jour par" : {
"id" : 80,
"connexion" : "learnapi",
"prénom" : "API",
"lastname" : "API",
"employee-number" : null,
"email" : "learnapi@learnapi.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "15/05/2013T15:05:17-07:00",
"updated-at" : "30/03/2016T02:35:20-07:00"
}
}
],
"created-by" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T06:01:34-08:00",
"updated-at" : "14/11/2016T11:52:00-08:00"
},
"mis à jour par" : {
"id" : 16,
"connexion" : "krhine",
"prénom" : "Kevin",
"lastname" : "Rhin",
"numéro-employé" : "",
"email" : "kevin.rhine@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "23-02-2009T17:28:34-08:00",
"updated-at" : "23/10/2016T22:53:46-07:00"
}
},
"default-account" : {
"id" : null,
"created-at" : null,
"updated-at" : null,
"name" : null,
"code" : "SF-Ventes-Indirect",
"active" : true,
"segment-1" : "SF",
"segment-2" : "Ventes",
"segment-3" : "Indirect",
"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" : "27/10/2008T13:10:01-07:00",
"updated-at" : "27/10/2016T02:38:59-07:00",
"nom" : "Ace Corporate",
"active" : true,
"currency" : {
"id" : 1,
"code" : "USD",
"décimales" : 2,
"mis à jour par" : {
"id" : 80,
"connexion" : "learnapi",
"prénom" : "API",
"lastname" : "API",
"employee-number" : null,
"email" : "learnapi@learnapi.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "15/05/2013T15:05:17-07:00",
"updated-at" : "30/03/2016T02:35:20-07:00"
}
},
"contact principal" : {
"id" : 14,
"created-at" : "27/10/2008T13:10:01-07:00",
"updated-at" : "2016-10-12T14:35:18-07:00",
"email" : "upgrade@coupa.com",
"name-prefix" : null,
"name-suffix" : null,
"name-additional" : null,
"nom-donné" : "xxx",
"name-family" : "aaaa",
"name-fullname" : null,
"notes" : null,
"phone-work" : null,
"phone-mobile" : null,
"phone-fax" : null,
"created-by" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T06:01:34-08:00",
"updated-at" : "14/11/2016T11:52:00-08:00"
},
"mis à jour par" : {
"id" : 122,
"connexion" : "matthew.otzwirk@coupa.com",
"prénom" : "Matthew",
"lastname" : "Otzwirk",
"employee-number" : null,
"email" : "matthew.otzwirk@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "27/04/2016T10:54:43-07:00",
"updated-at" : "27/10/2016T09:30:21-07:00"
}
},
"adresse-principale" : {
"id" : 184,
"created-at" : "27/10/2008T13:10:01-07:00",
"updated-at" : "17/03/2016T01:35:36-07:00",
"name" : "xxx aaaa",
"location-code" : null,
"street1" : "2 W 5th Ave",
"street2" : "Suite 300",
"ville" : "San Mateo",
"state" : "CA",
"code postal" : "94404",
"attention" : nul,
"active" : true,
"business-group-name" : null,
"numéro de cuve" : "465456645",
"numéro-impôt-local" : "",
"pays" : {
"id" : 22,
"code" : "BE",
"name" : "Belgique"
},
"pays-cuve" : {
"id" : 223,
"code" : "États-Unis",
"name" : "États-Unis"
},
"content-groups" : [],
"created-by" : {
"id" : 122,
"connexion" : "matthew.otzwirk@coupa.com",
"prénom" : "Matthew",
"lastname" : "Otzwirk",
"employee-number" : null,
"email" : "matthew.otzwirk@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "27/04/2016T10:54:43-07:00",
"updated-at" : "27/10/2016T09:30:21-07:00"
},
"mis à jour par" : {
"id" : 122,
"connexion" : "matthew.otzwirk@coupa.com",
"prénom" : "Matthew",
"lastname" : "Otzwirk",
"employee-number" : null,
"email" : "matthew.otzwirk@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "27/04/2016T10:54:43-07:00",
"updated-at" : "27/10/2016T09:30:21-07:00"
}
},
"created-by" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T06:01:34-08:00",
"updated-at" : "14/11/2016T11:52:00-08:00"
},
"mis à jour par" : {
"id" : 147,
"connexion" : "sourabh.pataskar@coupa.com",
"prénom" : "Sourabh",
"lastname" : "Pataskar",
"employee-number" : null,
"email" : "sourabh.pataskar@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2016-10-10T03:15:04-07:00",
"updated-at" : "27/10/2016T02:36:52-07:00"
}
}
},
"default-account-type" : {
"id" : 1,
"created-at" : "27/10/2008T13:10:01-07:00",
"updated-at" : "27/10/2016T02:38:59-07:00",
"nom" : "Ace Corporate",
"active" : true,
"currency" : {
"id" : 1,
"code" : "USD",
"décimales" : 2,
"mis à jour par" : {
"id" : 80,
"connexion" : "learnapi",
"prénom" : "API",
"lastname" : "API",
"employee-number" : null,
"email" : "learnapi@learnapi.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "15/05/2013T15:05:17-07:00",
"updated-at" : "30/03/2016T02:35:20-07:00"
}
},
"contact principal" : {
"id" : 14,
"created-at" : "27/10/2008T13:10:01-07:00",
"updated-at" : "2016-10-12T14:35:18-07:00",
"email" : "upgrade@coupa.com",
"name-prefix" : null,
"name-suffix" : null,
"name-additional" : null,
"nom-donné" : "xxx",
"name-family" : "aaaa",
"name-fullname" : null,
"notes" : null,
"phone-work" : null,
"phone-mobile" : null,
"phone-fax" : null,
"created-by" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T06:01:34-08:00",
"updated-at" : "14/11/2016T11:52:00-08:00"
},
"mis à jour par" : {
"id" : 122,
"connexion" : "matthew.otzwirk@coupa.com",
"prénom" : "Matthew",
"lastname" : "Otzwirk",
"employee-number" : null,
"email" : "matthew.otzwirk@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "27/04/2016T10:54:43-07:00",
"updated-at" : "27/10/2016T09:30:21-07:00"
}
},
"adresse-principale" : {
"id" : 184,
"created-at" : "27/10/2008T13:10:01-07:00",
"updated-at" : "17/03/2016T01:35:36-07:00",
"name" : "xxx aaaa",
"location-code" : null,
"street1" : "2 W 5th Ave",
"street2" : "Suite 300",
"ville" : "San Mateo",
"state" : "CA",
"code postal" : "94404",
"attention" : nul,
"active" : true,
"business-group-name" : null,
"numéro de cuve" : "465456645",
"numéro-impôt-local" : "",
"pays" : {
"id" : 22,
"code" : "BE",
"nom" : "Belgique"
},
"pays-cuve" : {
"id" : 223,
"code" : "États-Unis",
"nom" : "États-Unis"
},
"content-groups" : [],
"created-by" : {
"id" : 122,
"connexion" : "matthew.otzwirk@coupa.com",
"prénom" : "Matthew",
"lastname" : "Otzwirk",
"employee-number" : null,
"email" : "matthew.otzwirk@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "27/04/2016T10:54:43-07:00",
"updated-at" : "27/10/2016T09:30:21-07:00"
},
"mis à jour par" : {
"id" : 122,
"connexion" : "matthew.otzwirk@coupa.com",
"prénom" : "Matthew",
"lastname" : "Otzwirk",
"employee-number" : null,
"email" : "matthew.otzwirk@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "27/04/2016T10:54:43-07:00",
"updated-at" : "27/10/2016T09:30:21-07:00"
}
},
"created-by" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T06:01:34-08:00",
"updated-at" : "14/11/2016T11:52:00-08:00"
},
"mis à jour par" : {
"id" : 147,
"connexion" : "sourabh.pataskar@coupa.com",
"prénom" : "Sourabh",
"lastname" : "Pataskar",
"employee-number" : null,
"email" : "sourabh.pataskar@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2016-10-10T03:15:04-07:00",
"updated-at" : "27/10/2016T02:36:52-07:00"
}
},
"default-currency" : {
"id" : 1,
"code" : "USD",
"décimales" : 2,
"mis à jour par" : {
"id" : 80,
"connexion" : "learnapi",
"prénom" : "API",
"lastname" : "API",
"employee-number" : null,
"email" : "learnapi@learnapi.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "15/05/2013T15:05:17-07:00",
"updated-at" : "30/03/2016T02:35:20-07:00"
}
},
"département" : {
"id" : 2,
"created-at" : "27/10/2008T13:00:53-07:00",
"updated-at" : "23/03/2010T21:03:22-07:00",
"nom" : "Ventes",
"active" : true,
"created-by" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T06:01:34-08:00",
"updated-at" : "14/11/2016T11:52:00-08:00"
},
"mis à jour par" : {
"id" : 1,
"connexion" : "coupasupport",
"prénom" : "Coupa",
"lastname" : "Assistance",
"numéro-employé" : "",
"email" : "upgrade+coupasupport@coupa.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "2006-02-16T06:01:34-08:00",
"updated-at" : "14/11/2016T11:52:00-08:00"
}
},
"dépenses-déléguées-à" : [],
"can-expense-for" : [],
"content-groups" : [],
"account-groups" : [],
"groupes d'approbation" : [],
"working-warehouses" : [],
"inventory-organizations" : [],
"mis à jour par" : {
"id" : 80,
"connexion" : "learnapi",
"prénom" : "API",
"lastname" : "API",
"employee-number" : null,
"email" : "learnapi@learnapi.com",
"salesforce-id" : null,
"avatar-thumb-url" : null,
"created-at" : "15/05/2013T15:05:17-07:00",
"updated-at" : "30/03/2016T02:35:20-07:00"
}
}
Requête XML
<user>
<firstname>test2</firstname>
<lastname>user2</lastname>
</user>
Réponse XML
<?xml version="1.0" encoding="UTF-8"?>
<user>
<id type="integer">5</id>
<created-at type="dateTime">27/10/2008T13:54:10-07:00</created-at>
<updated-at type="dateTime">2016-11-15T06: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">faux</expense-user>
<sourcing-user type="boolean">faux</sourcing-user>
<inventory-user type="boolean">faux</inventory-user>
<employee-number></employee-number>
<firstname>test2</firstname>
<lastname>user2</lastname>
<fullname>test2 user2</fullname>
<api-user type="boolean">faux</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">faux</edit-invoice-on-quick-entry>
<avatar-thumb-url nil="true"/>
<mention-name>tommy(saleslead)kennedy</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>
<created-at type="dateTime">27/10/2008T13:54:10-07:00</created-at>
<updated-at type="dateTime">13/12/2012T14: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>Soutien</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>Soutien</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>
<created-at type="dateTime">2008-10-28T10:59:47-07:00</created-at>
<updated-at type="dateTime">13/12/2012T14: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>Soutien</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>Assistance</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>
<created-at type="dateTime">2011-08-05T09:46:31-07:00</created-at>
<updated-at type="dateTime">2011-08-05T09:46:31-07:00</updated-at>
<name>Utilisateur</name>
<description>Rôle standard pour tous les utilisateurs qui doivent créer et/ou approuver des demandes</description>
<omnipotent type="boolean">faux</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>Assistance</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>
<created-at type="dateTime">2011-08-05T09:46:31-07:00</created-at>
<updated-at type="dateTime">31/07/2012T09:40:04-07:00</updated-at>
<name>Modifier la demande en tant qu'approbateur</name>
<description>Ajoute la possibilité de modifier une demande lorsque vous l'approuvez</description>
<omnipotent type="boolean">faux</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>Assistance</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>Sally (vice-présidente des ventes)</firstname>
<lastname>Jones</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>
<created-at type="dateTime">27/10/2008T13:00:19-07:00</created-at>
<updated-at type="dateTime">2009-07-11T13:33:25-07:00</updated-at>
<name>Siège social</name>
<location-code nil="true"/>
<street1>28 Nevada Blvd</street1>
<street2></street2>
<city>Laughlin</city>
<state>NV</state>
<postal-code>89028</postal-code>
<attention></attention>
<active type="boolean">true</active>
<business-group-name>Tout le monde</business-group-name>
<vat-number nil="true"/>
<local-tax-number nil="true"/>
<country>
<id type="integer">223</id>
<code>États-Unis</code>
<name>États-Unis</name>
</country>
<content-groups type="array">
<content-group>
<id type="integer">1</id>
<created-at type="dateTime">2006-08-27T19:40:04-07:00</created-at>
<updated-at type="dateTime">17/08/2015T01:07:10-07:00</updated-at>
<name>Tout le monde</name>
<description>Tous les utilisateurs peuvent voir les documents attribués à ce groupe</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>Assistance</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>Rhin</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"/>
<code>SF-Ventes-Indirect</code>
<active type="boolean">true</active>
<segment-1>SF</segment-1>
<segment-2>Ventes</segment-2>
<segment-3>Indirect</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">27/10/2008T13:10:01-07:00</created-at>
<updated-at type="dateTime">27/10/2016T02:38:59-07:00</updated-at>
<name>Ace Corporate</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>
<created-at type="dateTime">27/10/2008T13:10:01-07:00</created-at>
<updated-at type="dateTime">2016-10-12T14: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>yyy</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>Assistance</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>
<created-at type="dateTime">27/10/2008T13:10:01-07:00</created-at>
<updated-at type="dateTime">17/03/2016T01:35:36-07:00</updated-at>
<name>xxx yyy</name>
<location-code nil="true"/>
<street1>2 W 5th Ave</street1>
<street2>Suite 300</street2>
<city>San Mateo</city>
<state>CA</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>Belgique</name>
</country>
<vat-country>
<id type="integer">223</id>
<code>États-Unis</code>
<name>États-Unis</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>Soutien</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>Pataskar</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>
<created-at type="dateTime">27/10/2008T13:10:01-07:00</created-at>
<updated-at type="dateTime">27/10/2016T02:38:59-07:00</updated-at>
<name>Ace Corporate</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>
<created-at type="dateTime">27/10/2008T13:10:01-07:00</created-at>
<updated-at type="dateTime">2016-10-12T14: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>yyy</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>Soutien</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>
<created-at type="dateTime">27/10/2008T13:10:01-07:00</created-at>
<updated-at type="dateTime">17/03/2016T01:35:36-07:00</updated-at>
<name>xxx yyy</name>
<location-code nil="true"/>
<street1>2 W 5th Ave</street1>
<street2>Suite 300</street2>
<city>San Mateo</city>
<state>CA</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>Belgique</name>
</country>
<vat-country>
<id type="integer">223</id>
<code>États-Unis</code>
<name>États-Unis</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>Soutien</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>Pataskar</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>
<created-at type="dateTime">27/10/2008T13:00:53-07:00</created-at>
<updated-at type="dateTime">2010-03-23T21:03:22-07:00</updated-at>
<name>Ventes</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>Assistance</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>Assistance</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>