MSP Credit Sessions

No OAuth-enabled endpoints in this section. Turn off the OAuth filter in the sidebar to see all of its endpoints.

No Road deviations in this section. Turn off the deviations filter in the sidebar to see all of its endpoints.

POST/1/credit-sessions/search

Search Credit Session

Authorization
User sessionAPI credential
Permissions
credit-sessions:read
OAuth
-
Request
Request bodyapplication/json
accountIdstring
filenamestring
default credit-sessions.csv
formatstring
default json
fromstring <date-time>
idstring
idsstring[]
limitnumber
default 50
localestring
monthnumber
searchIdstring
searchPhrasestring
skipnumber
default 0
sortobject
default {"field":"createdAt","order":"desc"}
fieldstringREQUIRED
orderstringREQUIRED
ascdesc
tostring <date-time>
useNegativeKwhboolean
yearnumber
Responses
200OK application/json
dataCreditSessionResource[]REQUIRED
accountIdstringREQUIRED
correctionTypestringREQUIRED
createdAtstringREQUIRED
currencystringREQUIRED
deletedbooleanREQUIRED
deletedAtstring
externalUniqueIdstringREQUIRED
idstringREQUIRED
newAmountnumberREQUIRED
pastAmountnumberREQUIRED
providerIdstringREQUIRED
sessionEndedAtstringREQUIRED
sessionIdstringREQUIRED
sessionKwhnumberREQUIRED
totalAmountnumberREQUIRED
updatedAtstringREQUIRED
metaobjectREQUIRED
limitnumberREQUIRED
skipnumberREQUIRED
totalnumberREQUIRED
400Invalid Request application/json
errorobject
detailsobject
messagestringREQUIRED
statusnumberREQUIRED
typestringREQUIRED
401Unauthorized application/json
errorobject
detailsobject
messagestringREQUIRED
statusnumberREQUIRED
typestringREQUIRED
403Forbidden: missing a required permission, or no access to this resource application/json
errorobject
detailsobject
messagestringREQUIRED
statusnumberREQUIRED
typestringREQUIRED
404Not Found application/json
errorobject
detailsobject
messagestringREQUIRED
statusnumberREQUIRED
typestringREQUIRED
500Internal server error application/json
errorobject
detailsobject
messagestringREQUIRED
statusnumberREQUIRED
typestringREQUIRED