get https://api.repsly.com/v3/export/representatives
Endpoint is used to export your representatives from Repsly.
This endpoint always returns full list of all representatives.
Response definition
Name | Type | Description |
---|---|---|
Code | String (20) | Unique representative code |
Name | String (80) | Representative name |
Note | String (255) | Additional note about representative |
Password | String (50) | [Obsolete] Mobile credentials - password, will always be empty. |
String (256) | Representative’s email address | |
Phone | String (128) | Representative’s phone number |
Mobile | String (128) | [Obsolete] Representative’s mobile phone number, will always be empty (null). |
Territories | Array(String) | The array of strings of territory paths that representative is associated with. Territory path is representation of hierarchical territory position as territory names separated by “/”. Ex. “Territory 1/Territory 1.1/Territory 1.1.1” |
Active | Boolean | Active representative |
Address1 | String (256) | Representative's address line 1 |
Address2 | String (256) | Representative's address line 2 |
City | String (256) | Representative's city |
State | String (256) | Representative's state |
ZipCode | String (20) | Representative's ZIP code |
ZipCodeExt | String (20) | Representative's ZIP ext code |
Country | String (256) | Representative's country name |
CountryCode | String (20) | Representative's country code |
Attributes | Array(Attribute) | List of attributes with values and types specified for that company. |
Attribute
Name | Type | Description |
---|---|---|
Title | String | Name of the attribute (defined by the back office user). |
Type | String | Type of the attribute. Can be one of the following values: TextShort, TextLong, Numeric, Boolean, Select and MultipleSelect |
Value | String | The value set for that user. If the value is null than the value is not set. |