get https://api.repsly.com/v3/export/retailaudits/
Endpoint is used to export your retail audits from Repsly. System limit is 50 rows.
More Info
In every response you will receive meta variables FirstID and LastID. Save LastID for future requests so you can use it as a parameter {lastRetailAuditID} for every subsequent request until the response meta variable TotalCount is equal to 0, which means you have received all updates.
To get the complete list of retail audits, start your request with parameter {lastRetailAuditID} = 0.
Response definition
Name | Type | Description |
---|---|---|
MetaCollectionResult\TotalCount | Integer | Total count of retail audits |
MetaCollectionResult\FirstID | Integer | Unique ID of the first item in the list |
MetaCollectionResult\LastID | Integer | Unique ID of the last item in the list |
RetailAuditID | Integer | Unique retail audit ID |
RetailAuditName | String (50) | Name of the retail audit |
Cancelled | Boolean | Retail audit is cancelled (Representative has cancelled it via mobile app) |
ClientCode | String (50) | Unique client code |
ClientName | String (255) | Client name |
DateAndTime | Datetime | Date and time of creation of this retail audit |
RepresentativeCode | String (20) | Unique representative code (retail audit author) |
RepresentativeName | String (80) | Representative name (retail audit author) |
Item\ProductGroupCode | String (20) | Item unique product group code |
Item\ProductGroupName | String (80) | Item product group name |
Item\ProductCode | String (20) | Item unique product code |
Item\ProductName | String (80) | Item product name |
Item\Present | Boolean | Item is present |
Item\Price | Decimal (18, 4) | Item price |
Item\Promotion | Boolean | Item is promoted |
Item\ShelfShare | Decimal (18, 4) | Item shelf share |
Item\ShelfSharePercent | Decimal (18, 4) | Item shelf share percent |
Item\SoldOut | Boolean | Item is sold out |
Item\Stock | Integer | Item stock |
CustomFields\ExtraInfoItem\Field | String (255) | Custom field name |
CustomFields\ExtraInfoItem\Value | String (255) | Custom field value |
Note | String (255) | Note on the retail audit |
VisitID | Integer | Unique Visit ID |