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.getApiProperty(String className, String propName, Log log)
at ChilkatCode.CodeGen.getXProp(String className, String propName)
at ChilkatCode.CodeGen.getPropType(String varName, String propName)
at ChilkatCode.CodeGen.emitAssignment(String varName, String propName, String op, Xml xml)
at ChilkatCode.Parser.assignment()
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 -G -d "idType=%7BidType%7D"
-d "idValue=%7BidValue%7D"
-d "tin=%7BidTin%7D"
-H "Authorization: Bearer <access_token>"
https://{apiBaseUrl}/api/v1.0/taxpayer/validate
Postman Collection Item JSON
{
"name": "Validate taxpayer TIN",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{generatedAccessToken}",
"type": "string"
}
]
},
"method": "GET",
"header": [
],
"url": {
"raw": "{apiBaseUrl}/api/v1.0/taxpayer/validate?idType={idType}&idValue={idValue}&tin={idTin}",
"host": [
"{apiBaseUrl}"
],
"path": [
"api",
"v1.0",
"taxpayer",
"validate"
],
"query": [
{
"key": "idType",
"value": "{idType}",
"description": "(NRIC, Passport number, Business registration number, army number)\n"
},
{
"key": "idValue",
"value": "{idValue}"
},
{
"key": "tin",
"value": "{idTin}"
}
]
}
},
"response": [
]
}