It allows you:
to get the active SalesRep
Columns that can be used as filters:
BPartner
Actions can be done:
list
URL: https://api.socratecloud.com/webapi/rest/bpartner/salesrep/list/{version}?startRow={0}&endRow={100}&accessToken={access_token}&BPartner=?
Method: GET
Return: JSON object with next format:
{
"data": [
{
"Organization": "*",
"Created": "2017-02-15 10:04:22+0200",
"CreatedBy": "User",
"Updated": "2017-02-15 10:04:22+0200",
"UpdatedBy": "User",
"Active": true,
"SalesRepType": "Sales",
"StartDate": "2000-01-01 00:00:00+0200",
"EndDate": "2099-02-15 00:00:00+0200",
"Vendor": "ABC SRL",
"ProductCategory": null,
"Attribute": null,
"AttributeValue": null,
"BPSalesRep": "Agent1 PFA",
"SalesRep": "Agent1"
},
{
"Organization": "*",
"Created": "2017-02-15 10:13:29+0200",
"CreatedBy": "User",
"Updated": "2017-02-15 10:13:29+0200",
"UpdatedBy": "User",
"Active": true,
"SalesRepType": "Sales",
"StartDate": "2000-01-01 00:00:00+0200",
"EndDate": "2099-02-15 00:00:00+0200",
"Vendor": "XYZ SRL",
"ProductCategory": null,
"Attribute": null,
"AttributeValue": null,
"BPSalesRep": "Agent1 PFA",
"SalesRep": "Agent1"
}
],
"totalRows": 2