Node.js / WAC API / Get Regional Usage for Sub-Invoice
Back to Collection Items
System.OutOfMemoryException: Insufficient memory to continue the execution of the program.
at System.Runtime.InteropServices.Marshal.StringToHGlobalUni(String s)
at Chilkat.CkMarshal.StringToX(String s, XString* x)
at Chilkat.Xml.LoadXml(String xmlData)
at ChilkatApi.XClass.LoadClass(String className, Log log)
at ChilkatApi.ApiCache.getApiClass(String className, Log log)
at ChilkatApi.ApiCache.methodExists(String className, String methodName)
at ChilkatCode.CodeGen.checkMethodCall(Xml xml)
at ChilkatCode.Parser.fnCall(Xml xml)
at ChilkatCode.Parser.subCall()
at ChilkatCode.Parser.statement()
at ChilkatCode.Parser.Chilkat()
at ChilkatCode.Parser.Parse()
at ChilkatCode.Compile.CompileForToolsIO(String srcCode, String langHashKey, StringBuilder sbHtmlOut)
Curl Command
curl -X GET
-H "Authorization: {{WACApiKey}}"
https://domain.com/v1/accounts/:AcctNum/invoices/:SubInvoiceId/regional
Postman Collection Item JSON
{
"name": "Get Regional Usage for Sub-Invoice",
"request": {
"auth": {
"type": "noauth"
},
"method": "GET",
"header": [
{
"key": "Authorization",
"value": "{{WACApiKey}}",
"type": "text"
}
],
"url": {
"raw": "{{baseURL}}/v1/accounts/:AcctNum/invoices/:SubInvoiceId/regional",
"host": [
"{{baseURL}}"
],
"path": [
"v1",
"accounts",
":AcctNum",
"invoices",
":SubInvoiceId",
"regional"
],
"variable": [
{
"key": "AcctNum",
"value": ""
},
{
"key": "SubInvoiceId",
"value": ""
}
]
}
},
"response": [
]
}