The GetBusinessTradesRecordCount() command returns the number of business trades in Field View.
Table 1. Parameters| Parameter | Type | Max Length | Required | Description |
|---|
|
apiToken
| string | 20 | Y | Your API security token configured in Field View. |
|
businessTradeDescription
| string | 100 | |
Filters the returned results where the business trade description contains the supplied string. |
|
businessUnitIDs |
String[] | 100 | | Filters the returned results where the business trade is business unit
and is in the supplied business unit IDs. Otherwise, the function will
return all business trades in and above the business unit ID the API
token was configured against. The business units IDs should be contained
in GetBusinessUnits(). |
|
activeOnly | boolean | | Y |
If true, only active business trades will be returned. If false, all business trades will be returned. |
<RecordCountReponse>
<Status>
SUCCESS
<Message>Success.</Message>
</Status>
<RecordCount></RecordCount>
</RecordCountReponse>