10. Sales Representative
Interface
It allows you:
to read the sales representative (only Contacts whose BPartner has is marked as "Employee" and "Sales Rep")
Columns that can be used as filters:
Organization
Name
Email
Active
Actions can be done:
list
API Methods:
List:
URL: https://api.socratecloud.com/webapi/rest/sales/rep/list/0?startRow={0}&endRow={100}&accessToken={access_token}&BPartner={bp_value}
Method: GET
Return: JSON object with next format:
{
"data": [
{
"Organization": "*",
"Created": "2014-01-20 08:23:37",
"CreatedBy": "SuperUser",
"Updated": "2014-06-10 11:55:27",
"UpdatedBy": "SuperUser",
"Active": true,
"Name": "Rep 1",
"Description": null,
"Email": "sales.rep@gmail.com",
"Phone": null
}
],
"totalRows": 1
}