Download SpendAndUsage File from SFTP Location
This operation is used to download zip file for bill spend/usage csv files from SFTP location based on AccountNumber,BillPeriod and file type
[GET]
https://nonprod.lc.esb.cloud.lla.com/dev/sfdc-ux-lc/sfdc-ux/v1/{businessId}/spendUsageFile
url Param
| name | type | description | required |
|---|
| businessId | string | 2 letter ISO 3166 country code (HN,CO,CR,GT,SV etc..) identifying the business unit.Expected: BS,BB,JM,VG,KN,AG,LC,KY,VC,GD,DM,AI,TT | Y |
| name | type | description | required |
|---|
| client_id | string | The client_id identifying the channel. Minimum characters: 5 | Y |
| client_secret | string | Password associated with the client_id. Minimum characters: 5 | Y |
| X-Correlation-ID | string | Identifier that correlates HTTP request between a client and server. Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction. Note - Mule default behavior creates a sample x-correlation-id field if value is not passed from client, API will use this value in case value is not passed in API request syntax: correlationId: uuid:cwc--, example: correlationId: f058ebd6-02f7-4d3f-942e-904344e8cde5 | Y |
Query Params
| name | type | description | required |
|---|
| accountNumber | string | AccountNumber | Y |
| billPeriod | string | BillPeriod | Y |
| fileType | string | Expected:Spend/Usage | Y |
Response
200 OK
content-type: application/zip