/bizops/v2/customer-sales
1 min
GET
https://app.amberflo.io/bizops/v2/customer-sales
Responses
200
- com.amberflo.bizops.DetailedGameStateV2.out
- customerNamestring
- customerEmailstring
- lifecycleStagestring
- gameCustomerIdstring
- lastUpdatedTimeInSecondsinteger<int64>
- dealSizenumber
- signupTimeInSecondsinteger<int64>
- salesTypecom.amberflo.bizops.core.state.SalesType.out
- latestActivityTimeInSecondsinteger<int64>
- engagementScorenumber
- accountIdstring
- customerIdstring
- gameNamestring
- gameDurationcommon.TimeRange.out
- startTimeInSecondsinteger<int64>requiredDescription
- endTimeInSecondsinteger<int64>Description
- accountManagerIdstring
- scoreByLevelmap<string, com.amberflo.bizops.DetailedGameStateV2.DetailedLevel.out>
- levelNameToActivitiesmap<string, object>
- levelNameToScoresmap<string, com.amberflo.bizops.core.score.state.BaseScore.out[]>
curl
curl --location 'https://app.amberflo.io/bizops/v2/customer-sales' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'javascript
var myHeaders = new Headers();
myHeaders.append("Accept", "application/json");
myHeaders.append("Content-Type", "application/json");
var requestOptions = {
method: 'GET',
headers: myHeaders,
redirect: 'follow'
};
fetch("https://app.amberflo.io/bizops/v2/customer-sales", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));ruby
require "uri"
require "json"
require "net/http"
url = URI("https://app.amberflo.io/bizops/v2/customer-sales")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Accept"] = "application/json"
request["Content-Type"] = "application/json"
response = https.request(request)
puts response.read_body
python
import requests
import json
url = "https://app.amberflo.io/bizops/v2/customer-sales"
payload = {}
headers = {
'Accept': 'application/json',
'Content-Type': 'application/json'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
200
// Successful request
{
"customerName": "",
"customerEmail": "",
"lifecycleStage": "",
"gameCustomerId": "",
"lastUpdatedTimeInSeconds": "",
"dealSize": 0,
"signupTimeInSeconds": "",
"salesType": "",
"latestActivityTimeInSeconds": "",
"engagementScore": 0,
"accountId": "",
"customerId": "",
"gameName": "",
"gameDuration": {
"startTimeInSeconds": "",
"endTimeInSeconds": ""
},
"accountManagerId": "",
"scoreByLevel": "",
"levelNameToActivities": "",
"levelNameToScores": ""
}