Back to Collection Items
#include <C_CkHttp.h>
#include <C_CkJsonObject.h>
#include <C_CkHttpResponse.h>
#include <C_CkStringBuilder.h>
void ChilkatSample(void)
{
HCkHttp http;
BOOL success;
HCkJsonObject queryParams;
HCkHttpResponse resp;
HCkStringBuilder sbResponseBody;
HCkJsonObject jResp;
int respStatusCode;
const char *Name;
const char *Id;
const char *id;
const char *display_name;
const char *v_type;
const char *created_byName;
const char *created_byId;
const char *deleted_time;
const char *deleted_by;
const char *created_by;
int Per_page;
int Count;
int Page;
BOOL More_records;
int i;
int count_i;
// This example assumes the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.
http = CkHttp_Create();
queryParams = CkJsonObject_Create();
CkJsonObject_UpdateString(queryParams,"type","all");
// Adds the "Authorization: Bearer <access_token>" header.
CkHttp_putAuthToken(http,"<access_token>");
resp = CkHttp_QuickRequestParams(http,"GET","https://domain.com/crm/v2.1/Leads/deleted",queryParams);
if (CkHttp_getLastMethodSuccess(http) == FALSE) {
printf("%s\n",CkHttp_lastErrorText(http));
CkHttp_Dispose(http);
CkJsonObject_Dispose(queryParams);
return;
}
sbResponseBody = CkStringBuilder_Create();
CkHttpResponse_GetBodySb(resp,sbResponseBody);
jResp = CkJsonObject_Create();
CkJsonObject_LoadSb(jResp,sbResponseBody);
CkJsonObject_putEmitCompact(jResp,FALSE);
printf("Response Body:\n");
printf("%s\n",CkJsonObject_emit(jResp));
respStatusCode = CkHttpResponse_getStatusCode(resp);
printf("Response Status Code = %d\n",respStatusCode);
if (respStatusCode >= 400) {
printf("Response Header:\n");
printf("%s\n",CkHttpResponse_header(resp));
printf("Failed.\n");
CkHttpResponse_Dispose(resp);
CkHttp_Dispose(http);
CkJsonObject_Dispose(queryParams);
CkStringBuilder_Dispose(sbResponseBody);
CkJsonObject_Dispose(jResp);
return;
}
CkHttpResponse_Dispose(resp);
// Sample JSON response:
// (Sample code for parsing the JSON response is shown below)
// {
// "data": [
// {
// "deleted_by": {
// "name": "Patricia Patricia",
// "id": "738964000000291009"
// },
// "id": "738964000002118035",
// "display_name": "Paul Daly",
// "type": "recycle",
// "created_by": {
// "name": "Patricia Patricia",
// "id": "738964000000291009"
// },
// "deleted_time": "2021-05-07T06:02:02+00:00"
// },
// {
// "deleted_by": {
// "name": "Patricia Patricia",
// "id": "738964000000291009"
// },
// "id": "738964000002118055",
// "display_name": "First_Name Patricia Boyle",
// "type": "recycle",
// "created_by": {
// "name": "Patricia Patricia",
// "id": "738964000000291009"
// },
// "deleted_time": "2021-05-07T05:53:30+00:00"
// },
// {
// "deleted_by": {
// "name": "Patricia Patricia",
// "id": "738964000000291009"
// },
// "id": "738964000002118044",
// "display_name": "Paul Daly",
// "type": "recycle",
// "created_by": {
// "name": "Patricia Patricia",
// "id": "738964000000291009"
// },
// "deleted_time": "2021-05-07T05:53:30+00:00"
// },
// {
// "deleted_by": {
// "name": "Patricia Patricia",
// "id": "738964000000291009"
// },
// "id": "738964000002118182",
// "display_name": "Patricia Boyle",
// "type": "recycle",
// "created_by": {
// "name": "Patricia Patricia",
// "id": "738964000000291009"
// },
// "deleted_time": "2021-05-07T05:45:12+00:00"
// },
// {
// "deleted_by": {
// "name": "Patricia Patricia",
// "id": "738964000000291009"
// },
// "id": "738964000001661038",
// "display_name": "testing",
// "type": "recycle",
// "created_by": {
// "name": "Patricia Patricia",
// "id": "738964000000291009"
// },
// "deleted_time": "2021-03-17T11:44:09+00:00"
// },
// {
// "deleted_by": null,
// "id": "738964000001759156",
// "display_name": null,
// "type": "permanent",
// "created_by": null,
// "deleted_time": "2021-04-15T10:56:30+00:00"
// },
// {
// "deleted_by": null,
// "id": "738964000001517020",
// "display_name": null,
// "type": "permanent",
// "created_by": null,
// "deleted_time": "2021-04-15T10:56:30+00:00"
// },
// {
// "deleted_by": null,
// "id": "738964000001517009",
// "display_name": null,
// "type": "permanent",
// "created_by": null,
// "deleted_time": "2021-04-15T10:56:30+00:00"
// },
// {
// "deleted_by": null,
// "id": "738964000001465033",
// "display_name": null,
// "type": "permanent",
// "created_by": null,
// "deleted_time": "2021-04-15T10:56:30+00:00"
// },
// {
// "deleted_by": null,
// "id": "738964000001324713",
// "display_name": null,
// "type": "permanent",
// "created_by": null,
// "deleted_time": "2021-04-15T10:56:30+00:00"
// },
// {
// "deleted_by": null,
// "id": "738964000001273062",
// "display_name": null,
// "type": "permanent",
// "created_by": null,
// "deleted_time": "2021-04-15T10:56:30+00:00"
// },
// {
// "deleted_by": null,
// "id": "738964000001273048",
// "display_name": null,
// "type": "permanent",
// "created_by": null,
// "deleted_time": "2021-04-15T10:56:30+00:00"
// },
// {
// "deleted_by": null,
// "id": "738964000001273042",
// "display_name": null,
// "type": "permanent",
// "created_by": null,
// "deleted_time": "2021-04-15T10:56:30+00:00"
// },
// {
// "deleted_by": null,
// "id": "738964000001273036",
// "display_name": null,
// "type": "permanent",
// "created_by": null,
// "deleted_time": "2021-04-15T10:56:30+00:00"
// },
// {
// "deleted_by": null,
// "id": "738964000001273030",
// "display_name": null,
// "type": "permanent",
// "created_by": null,
// "deleted_time": "2021-04-15T10:56:30+00:00"
// },
// {
// "deleted_by": null,
// "id": "738964000001273024",
// "display_name": null,
// "type": "permanent",
// "created_by": null,
// "deleted_time": "2021-04-15T10:56:30+00:00"
// },
// {
// "deleted_by": null,
// "id": "738964000001273018",
// "display_name": null,
// "type": "permanent",
// "created_by": null,
// "deleted_time": "2021-04-15T10:56:30+00:00"
// },
// {
// "deleted_by": null,
// "id": "738964000001273012",
// "display_name": null,
// "type": "permanent",
// "created_by": null,
// "deleted_time": "2021-04-15T10:56:30+00:00"
// },
// {
// "deleted_by": null,
// "id": "738964000001273005",
// "display_name": null,
// "type": "permanent",
// "created_by": null,
// "deleted_time": "2021-04-15T10:56:30+00:00"
// },
// {
// "deleted_by": null,
// "id": "738964000001265002",
// "display_name": null,
// "type": "permanent",
// "created_by": null,
// "deleted_time": "2021-04-15T10:56:30+00:00"
// },
// {
// "deleted_by": null,
// "id": "738964000001112015",
// "display_name": null,
// "type": "permanent",
// "created_by": null,
// "deleted_time": "2021-04-15T10:56:30+00:00"
// },
// {
// "deleted_by": null,
// "id": "738964000001759155",
// "display_name": null,
// "type": "permanent",
// "created_by": null,
// "deleted_time": "2021-03-17T11:44:08+00:00"
// }
// ],
// "info": {
// "per_page": 200,
// "count": 22,
// "page": 1,
// "more_records": false
// }
// }
// Sample code for parsing the JSON response...
// Use this online tool to generate parsing code from sample JSON: Generate JSON Parsing Code
// Chilkat functions returning "const char *" return a pointer to temporary internal memory owned and managed by Chilkat.
Per_page = CkJsonObject_IntOf(jResp,"info.per_page");
Count = CkJsonObject_IntOf(jResp,"info.count");
Page = CkJsonObject_IntOf(jResp,"info.page");
More_records = CkJsonObject_BoolOf(jResp,"info.more_records");
i = 0;
count_i = CkJsonObject_SizeOfArray(jResp,"data");
while (i < count_i) {
CkJsonObject_putI(jResp,i);
Name = CkJsonObject_stringOf(jResp,"data[i].deleted_by.name");
Id = CkJsonObject_stringOf(jResp,"data[i].deleted_by.id");
id = CkJsonObject_stringOf(jResp,"data[i].id");
display_name = CkJsonObject_stringOf(jResp,"data[i].display_name");
v_type = CkJsonObject_stringOf(jResp,"data[i].type");
created_byName = CkJsonObject_stringOf(jResp,"data[i].created_by.name");
created_byId = CkJsonObject_stringOf(jResp,"data[i].created_by.id");
deleted_time = CkJsonObject_stringOf(jResp,"data[i].deleted_time");
deleted_by = CkJsonObject_stringOf(jResp,"data[i].deleted_by");
created_by = CkJsonObject_stringOf(jResp,"data[i].created_by");
i = i + 1;
}
CkHttp_Dispose(http);
CkJsonObject_Dispose(queryParams);
CkStringBuilder_Dispose(sbResponseBody);
CkJsonObject_Dispose(jResp);
}
Curl Command
curl -G -d "type=all"
-H "Authorization: Bearer <access_token>"
https://domain.com/crm/v2.1/Leads/deleted
Postman Collection Item JSON
{
"name": "Leads",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{access-token}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
],
"url": {
"raw": "{{api-domain}}/crm/v2.1/Leads/deleted?type=all",
"host": [
"{{api-domain}}"
],
"path": [
"crm",
"v2.1",
"Leads",
"deleted"
],
"query": [
{
"key": "type",
"value": "all"
}
]
},
"description": "To get the list of available records in the Leads module."
},
"response": [
{
"name": "P1: type=all",
"originalRequest": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{api-domain}}/crm/v2.1/Leads/deleted?type=all",
"host": [
"{{api-domain}}"
],
"path": [
"crm",
"v2.1",
"Leads",
"deleted"
],
"query": [
{
"key": "type",
"value": "all"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "ZGS"
},
{
"key": "Date",
"value": "Fri, 07 May 2021 06:03:08 GMT"
},
{
"key": "Content-Type",
"value": "application/json;charset=utf-8"
},
{
"key": "Transfer-Encoding",
"value": "chunked"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Referrer-Policy",
"value": "strict-origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Cache-Control",
"value": "no-cache"
},
{
"key": "Expires",
"value": "Thu, 01 Jan 1970 00:00:00 GMT"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "X-ACCESSTOKEN-RESET",
"value": "2021-05-07T06:44:53+00:00"
},
{
"key": "clientVersion",
"value": "4016256"
},
{
"key": "clientsubVersion",
"value": "8ef7aa3133ce0e105307c407d89b23d9"
},
{
"key": "Content-Disposition",
"value": "attachment; filename=response.json"
},
{
"key": "vary",
"value": "accept-encoding"
},
{
"key": "Content-Encoding",
"value": "gzip"
},
{
"key": "Content-Language",
"value": "en-US"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=15768000"
}
],
"cookie": [
],
"body": "{\n \"data\": [\n {\n \"deleted_by\": {\n \"name\": \"Patricia Patricia\",\n \"id\": \"738964000000291009\"\n },\n \"id\": \"738964000002118035\",\n \"display_name\": \"Paul Daly\",\n \"type\": \"recycle\",\n \"created_by\": {\n \"name\": \"Patricia Patricia\",\n \"id\": \"738964000000291009\"\n },\n \"deleted_time\": \"2021-05-07T06:02:02+00:00\"\n },\n {\n \"deleted_by\": {\n \"name\": \"Patricia Patricia\",\n \"id\": \"738964000000291009\"\n },\n \"id\": \"738964000002118055\",\n \"display_name\": \"First_Name Patricia Boyle\",\n \"type\": \"recycle\",\n \"created_by\": {\n \"name\": \"Patricia Patricia\",\n \"id\": \"738964000000291009\"\n },\n \"deleted_time\": \"2021-05-07T05:53:30+00:00\"\n },\n {\n \"deleted_by\": {\n \"name\": \"Patricia Patricia\",\n \"id\": \"738964000000291009\"\n },\n \"id\": \"738964000002118044\",\n \"display_name\": \"Paul Daly\",\n \"type\": \"recycle\",\n \"created_by\": {\n \"name\": \"Patricia Patricia\",\n \"id\": \"738964000000291009\"\n },\n \"deleted_time\": \"2021-05-07T05:53:30+00:00\"\n },\n {\n \"deleted_by\": {\n \"name\": \"Patricia Patricia\",\n \"id\": \"738964000000291009\"\n },\n \"id\": \"738964000002118182\",\n \"display_name\": \"Patricia Boyle\",\n \"type\": \"recycle\",\n \"created_by\": {\n \"name\": \"Patricia Patricia\",\n \"id\": \"738964000000291009\"\n },\n \"deleted_time\": \"2021-05-07T05:45:12+00:00\"\n },\n {\n \"deleted_by\": {\n \"name\": \"Patricia Patricia\",\n \"id\": \"738964000000291009\"\n },\n \"id\": \"738964000001661038\",\n \"display_name\": \"testing\",\n \"type\": \"recycle\",\n \"created_by\": {\n \"name\": \"Patricia Patricia\",\n \"id\": \"738964000000291009\"\n },\n \"deleted_time\": \"2021-03-17T11:44:09+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001759156\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001517020\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001517009\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001465033\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001324713\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001273062\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001273048\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001273042\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001273036\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001273030\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001273024\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001273018\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001273012\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001273005\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001265002\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001112015\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001759155\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-03-17T11:44:08+00:00\"\n }\n ],\n \"info\": {\n \"per_page\": 200,\n \"count\": 22,\n \"page\": 1,\n \"more_records\": false\n }\n}"
},
{
"name": "P2: type=recycle",
"originalRequest": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{api-domain}}/crm/v2.1/Leads/deleted?type=recycle",
"host": [
"{{api-domain}}"
],
"path": [
"crm",
"v2.1",
"Leads",
"deleted"
],
"query": [
{
"key": "type",
"value": "recycle"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "ZGS"
},
{
"key": "Date",
"value": "Fri, 07 May 2021 06:03:33 GMT"
},
{
"key": "Content-Type",
"value": "application/json;charset=utf-8"
},
{
"key": "Transfer-Encoding",
"value": "chunked"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Referrer-Policy",
"value": "strict-origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Cache-Control",
"value": "no-cache"
},
{
"key": "Expires",
"value": "Thu, 01 Jan 1970 00:00:00 GMT"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "X-ACCESSTOKEN-RESET",
"value": "2021-05-07T06:44:53+00:00"
},
{
"key": "clientVersion",
"value": "4016256"
},
{
"key": "clientsubVersion",
"value": "8ef7aa3133ce0e105307c407d89b23d9"
},
{
"key": "Content-Disposition",
"value": "attachment; filename=response.json"
},
{
"key": "vary",
"value": "accept-encoding"
},
{
"key": "Content-Encoding",
"value": "gzip"
},
{
"key": "Content-Language",
"value": "en-US"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=15768000"
}
],
"cookie": [
],
"body": "{\n \"data\": [\n {\n \"deleted_by\": {\n \"name\": \"Patricia Patricia\",\n \"id\": \"738964000000291009\"\n },\n \"id\": \"738964000002118035\",\n \"display_name\": \"Paul Daly\",\n \"type\": \"recycle\",\n \"created_by\": {\n \"name\": \"Patricia Patricia\",\n \"id\": \"738964000000291009\"\n },\n \"deleted_time\": \"2021-05-07T06:02:02+00:00\"\n },\n {\n \"deleted_by\": {\n \"name\": \"Patricia Patricia\",\n \"id\": \"738964000000291009\"\n },\n \"id\": \"738964000002118055\",\n \"display_name\": \"First_Name Patricia Boyle\",\n \"type\": \"recycle\",\n \"created_by\": {\n \"name\": \"Patricia Patricia\",\n \"id\": \"738964000000291009\"\n },\n \"deleted_time\": \"2021-05-07T05:53:30+00:00\"\n },\n {\n \"deleted_by\": {\n \"name\": \"Patricia Patricia\",\n \"id\": \"738964000000291009\"\n },\n \"id\": \"738964000002118044\",\n \"display_name\": \"Paul Daly\",\n \"type\": \"recycle\",\n \"created_by\": {\n \"name\": \"Patricia Patricia\",\n \"id\": \"738964000000291009\"\n },\n \"deleted_time\": \"2021-05-07T05:53:30+00:00\"\n },\n {\n \"deleted_by\": {\n \"name\": \"Patricia Patricia\",\n \"id\": \"738964000000291009\"\n },\n \"id\": \"738964000002118182\",\n \"display_name\": \"Patricia Boyle\",\n \"type\": \"recycle\",\n \"created_by\": {\n \"name\": \"Patricia Patricia\",\n \"id\": \"738964000000291009\"\n },\n \"deleted_time\": \"2021-05-07T05:45:12+00:00\"\n },\n {\n \"deleted_by\": {\n \"name\": \"Patricia Patricia\",\n \"id\": \"738964000000291009\"\n },\n \"id\": \"738964000001661038\",\n \"display_name\": \"testing\",\n \"type\": \"recycle\",\n \"created_by\": {\n \"name\": \"Patricia Patricia\",\n \"id\": \"738964000000291009\"\n },\n \"deleted_time\": \"2021-03-17T11:44:09+00:00\"\n }\n ],\n \"info\": {\n \"per_page\": 200,\n \"count\": 5,\n \"page\": 1,\n \"more_records\": false\n }\n}"
},
{
"name": "P3: type=permanent",
"originalRequest": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{api-domain}}/crm/v2.1/Leads/deleted?type=permanent",
"host": [
"{{api-domain}}"
],
"path": [
"crm",
"v2.1",
"Leads",
"deleted"
],
"query": [
{
"key": "type",
"value": "permanent"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "ZGS"
},
{
"key": "Date",
"value": "Fri, 07 May 2021 06:04:05 GMT"
},
{
"key": "Content-Type",
"value": "application/json;charset=utf-8"
},
{
"key": "Transfer-Encoding",
"value": "chunked"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Referrer-Policy",
"value": "strict-origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Cache-Control",
"value": "no-cache"
},
{
"key": "Expires",
"value": "Thu, 01 Jan 1970 00:00:00 GMT"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "X-ACCESSTOKEN-RESET",
"value": "2021-05-07T06:44:53+00:00"
},
{
"key": "clientVersion",
"value": "4016256"
},
{
"key": "clientsubVersion",
"value": "8ef7aa3133ce0e105307c407d89b23d9"
},
{
"key": "Content-Disposition",
"value": "attachment; filename=response.json"
},
{
"key": "vary",
"value": "accept-encoding"
},
{
"key": "Content-Encoding",
"value": "gzip"
},
{
"key": "Content-Language",
"value": "en-US"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=15768000"
}
],
"cookie": [
],
"body": "{\n \"data\": [\n {\n \"deleted_by\": null,\n \"id\": \"738964000001759156\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001517020\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001517009\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001465033\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001324713\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001273062\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001273048\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001273042\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001273036\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001273030\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001273024\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001273018\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001273012\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001273005\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001265002\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001112015\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001759155\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-03-17T11:44:08+00:00\"\n }\n ],\n \"info\": {\n \"per_page\": 200,\n \"count\": 17,\n \"page\": 1,\n \"more_records\": false\n }\n}"
},
{
"name": "P4: page & per_page",
"originalRequest": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{api-domain}}/crm/v2.1/Leads/deleted?type=permanent&page=2&per_page=1",
"host": [
"{{api-domain}}"
],
"path": [
"crm",
"v2.1",
"Leads",
"deleted"
],
"query": [
{
"key": "type",
"value": "permanent"
},
{
"key": "page",
"value": "2"
},
{
"key": "per_page",
"value": "1"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "ZGS"
},
{
"key": "Date",
"value": "Fri, 07 May 2021 06:04:48 GMT"
},
{
"key": "Content-Type",
"value": "application/json;charset=utf-8"
},
{
"key": "Content-Length",
"value": "217"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Referrer-Policy",
"value": "strict-origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Cache-Control",
"value": "no-cache"
},
{
"key": "Expires",
"value": "Thu, 01 Jan 1970 00:00:00 GMT"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "X-ACCESSTOKEN-RESET",
"value": "2021-05-07T06:44:53+00:00"
},
{
"key": "clientVersion",
"value": "4016256"
},
{
"key": "clientsubVersion",
"value": "8ef7aa3133ce0e105307c407d89b23d9"
},
{
"key": "Content-Disposition",
"value": "attachment; filename=response.json"
},
{
"key": "Content-Language",
"value": "en-US"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=15768000"
}
],
"cookie": [
],
"body": "{\n \"data\": [\n {\n \"deleted_by\": null,\n \"id\": \"738964000001517020\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n }\n ],\n \"info\": {\n \"per_page\": 1,\n \"count\": 1,\n \"page\": 2,\n \"more_records\": true\n }\n}"
},
{
"name": "SUCCESS RESPONSE",
"originalRequest": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{api-domain}}/crm/v2.1/Leads/deleted",
"host": [
"{{api-domain}}"
],
"path": [
"crm",
"v2.1",
"Leads",
"deleted"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "ZGS"
},
{
"key": "Date",
"value": "Fri, 07 May 2021 06:02:49 GMT"
},
{
"key": "Content-Type",
"value": "application/json;charset=utf-8"
},
{
"key": "Transfer-Encoding",
"value": "chunked"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Referrer-Policy",
"value": "strict-origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Cache-Control",
"value": "no-cache"
},
{
"key": "Expires",
"value": "Thu, 01 Jan 1970 00:00:00 GMT"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "X-ACCESSTOKEN-RESET",
"value": "2021-05-07T06:44:53+00:00"
},
{
"key": "clientVersion",
"value": "4016256"
},
{
"key": "clientsubVersion",
"value": "8ef7aa3133ce0e105307c407d89b23d9"
},
{
"key": "Content-Disposition",
"value": "attachment; filename=response.json"
},
{
"key": "vary",
"value": "accept-encoding"
},
{
"key": "Content-Encoding",
"value": "gzip"
},
{
"key": "Content-Language",
"value": "en-US"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=15768000"
}
],
"cookie": [
],
"body": "{\n \"data\": [\n {\n \"deleted_by\": {\n \"name\": \"Patricia Patricia\",\n \"id\": \"738964000000291009\"\n },\n \"id\": \"738964000002118035\",\n \"display_name\": \"Paul Daly\",\n \"type\": \"recycle\",\n \"created_by\": {\n \"name\": \"Patricia Patricia\",\n \"id\": \"738964000000291009\"\n },\n \"deleted_time\": \"2021-05-07T06:02:02+00:00\"\n },\n {\n \"deleted_by\": {\n \"name\": \"Patricia Patricia\",\n \"id\": \"738964000000291009\"\n },\n \"id\": \"738964000002118055\",\n \"display_name\": \"First_Name Patricia Boyle\",\n \"type\": \"recycle\",\n \"created_by\": {\n \"name\": \"Patricia Patricia\",\n \"id\": \"738964000000291009\"\n },\n \"deleted_time\": \"2021-05-07T05:53:30+00:00\"\n },\n {\n \"deleted_by\": {\n \"name\": \"Patricia Patricia\",\n \"id\": \"738964000000291009\"\n },\n \"id\": \"738964000002118044\",\n \"display_name\": \"Paul Daly\",\n \"type\": \"recycle\",\n \"created_by\": {\n \"name\": \"Patricia Patricia\",\n \"id\": \"738964000000291009\"\n },\n \"deleted_time\": \"2021-05-07T05:53:30+00:00\"\n },\n {\n \"deleted_by\": {\n \"name\": \"Patricia Patricia\",\n \"id\": \"738964000000291009\"\n },\n \"id\": \"738964000002118182\",\n \"display_name\": \"Patricia Boyle\",\n \"type\": \"recycle\",\n \"created_by\": {\n \"name\": \"Patricia Patricia\",\n \"id\": \"738964000000291009\"\n },\n \"deleted_time\": \"2021-05-07T05:45:12+00:00\"\n },\n {\n \"deleted_by\": {\n \"name\": \"Patricia Patricia\",\n \"id\": \"738964000000291009\"\n },\n \"id\": \"738964000001661038\",\n \"display_name\": \"testing\",\n \"type\": \"recycle\",\n \"created_by\": {\n \"name\": \"Patricia Patricia\",\n \"id\": \"738964000000291009\"\n },\n \"deleted_time\": \"2021-03-17T11:44:09+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001759156\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001517020\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001517009\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001465033\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001324713\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001273062\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001273048\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001273042\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001273036\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001273030\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001273024\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001273018\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001273012\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001273005\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001265002\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001112015\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-04-15T10:56:30+00:00\"\n },\n {\n \"deleted_by\": null,\n \"id\": \"738964000001759155\",\n \"display_name\": null,\n \"type\": \"permanent\",\n \"created_by\": null,\n \"deleted_time\": \"2021-03-17T11:44:08+00:00\"\n }\n ],\n \"info\": {\n \"per_page\": 200,\n \"count\": 22,\n \"page\": 1,\n \"more_records\": false\n }\n}"
},
{
"name": "INVALID_MODULE",
"originalRequest": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{api-domain}}/crm/v2.1/Lead/deleted?type=all",
"host": [
"{{api-domain}}"
],
"path": [
"crm",
"v2.1",
"Lead",
"deleted"
],
"query": [
{
"key": "type",
"value": "all"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "ZGS"
},
{
"key": "Date",
"value": "Fri, 07 May 2021 06:05:15 GMT"
},
{
"key": "Content-Type",
"value": "application/json;charset=utf-8"
},
{
"key": "Content-Length",
"value": "133"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Referrer-Policy",
"value": "strict-origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Cache-Control",
"value": "no-cache"
},
{
"key": "Expires",
"value": "Thu, 01 Jan 1970 00:00:00 GMT"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "X-ACCESSTOKEN-RESET",
"value": "2021-05-07T06:44:53+00:00"
},
{
"key": "clientVersion",
"value": "4016256"
},
{
"key": "clientsubVersion",
"value": "8ef7aa3133ce0e105307c407d89b23d9"
},
{
"key": "Content-Disposition",
"value": "attachment; filename=response.json"
},
{
"key": "X-Download-Options",
"value": "noopen"
},
{
"key": "Content-Language",
"value": "en-US"
}
],
"cookie": [
],
"body": "{\n \"code\": \"INVALID_MODULE\",\n \"details\": {\n \"resource_path_index\": 0\n },\n \"message\": \"the module name given seems to be invalid\",\n \"status\": \"error\"\n}"
},
{
"name": "INVALID_URL_PATTERN",
"originalRequest": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{api-domain}}/crm/v2.1/Lead/delete",
"host": [
"{{api-domain}}"
],
"path": [
"crm",
"v2.1",
"Lead",
"delete"
]
}
},
"status": "Not Found",
"code": 404,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "ZGS"
},
{
"key": "Date",
"value": "Fri, 07 May 2021 06:05:31 GMT"
},
{
"key": "Content-Type",
"value": "application/json;charset=utf-8"
},
{
"key": "Content-Length",
"value": "131"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Referrer-Policy",
"value": "strict-origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Cache-Control",
"value": "no-cache"
},
{
"key": "Expires",
"value": "Thu, 01 Jan 1970 00:00:00 GMT"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "X-ACCESSTOKEN-RESET",
"value": "2021-05-07T06:44:53+00:00"
},
{
"key": "Content-Disposition",
"value": "attachment; filename=response.json"
},
{
"key": "X-Download-Options",
"value": "noopen"
},
{
"key": "Content-Language",
"value": "en-US"
}
],
"cookie": [
],
"body": "{\n \"code\": \"INVALID_URL_PATTERN\",\n \"details\": {},\n \"message\": \"Please check if the URL trying to access is a correct one\",\n \"status\": \"error\"\n}"
},
{
"name": "INVALID_REQUEST_METHOD",
"originalRequest": {
"method": "PATCH",
"header": [
],
"url": {
"raw": "{{api-domain}}/crm/v2.1/Lead/deleted",
"host": [
"{{api-domain}}"
],
"path": [
"crm",
"v2.1",
"Lead",
"deleted"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "ZGS"
},
{
"key": "Date",
"value": "Fri, 07 May 2021 06:05:55 GMT"
},
{
"key": "Content-Type",
"value": "application/json;charset=utf-8"
},
{
"key": "Content-Length",
"value": "124"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "X-Frame-Options",
"value": "deny"
},
{
"key": "X-Download-Options",
"value": "noopen"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
}
],
"cookie": [
],
"body": "{\n \"code\": \"INVALID_REQUEST_METHOD\",\n \"details\": {},\n \"message\": \"The http request method type is not a valid one\",\n \"status\": \"error\"\n}"
},
{
"name": "AUTHENTICATION_FAILURE",
"originalRequest": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{api-domain}}/crm/v2.1/Lead/deleted",
"host": [
"{{api-domain}}"
],
"path": [
"crm",
"v2.1",
"Lead",
"deleted"
]
}
},
"status": "Unauthorized",
"code": 401,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "ZGS"
},
{
"key": "Date",
"value": "Fri, 07 May 2021 06:06:14 GMT"
},
{
"key": "Content-Type",
"value": "application/json;charset=utf-8"
},
{
"key": "Content-Length",
"value": "98"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Referrer-Policy",
"value": "strict-origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Cache-Control",
"value": "no-cache"
},
{
"key": "Expires",
"value": "Thu, 01 Jan 1970 00:00:00 GMT"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "X-Download-Options",
"value": "noopen"
}
],
"cookie": [
],
"body": "{\n \"code\": \"AUTHENTICATION_FAILURE\",\n \"details\": {},\n \"message\": \"Authentication failed\",\n \"status\": \"error\"\n}"
},
{
"name": "PATTERN_NOT_MATCHED",
"originalRequest": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{api-domain}}/crm/v2.1/Lead/deleted?type=All",
"host": [
"{{api-domain}}"
],
"path": [
"crm",
"v2.1",
"Lead",
"deleted"
],
"query": [
{
"key": "type",
"value": "All"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "ZGS"
},
{
"key": "Date",
"value": "Fri, 07 May 2021 06:06:35 GMT"
},
{
"key": "Content-Type",
"value": "application/json;charset=utf-8"
},
{
"key": "Content-Length",
"value": "140"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Referrer-Policy",
"value": "strict-origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "X-Download-Options",
"value": "noopen"
}
],
"cookie": [
],
"body": "{\n \"code\": \"PATTERN_NOT_MATCHED\",\n \"details\": {\n \"api_name\": \"type\"\n },\n \"message\": \"Please check whether the input values are correct\",\n \"status\": \"error\"\n}"
},
{
"name": "INVALID_REQUEST",
"originalRequest": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{api-domain}}/crm/v2.1/Leads/deleted?type=all",
"host": [
"{{api-domain}}"
],
"path": [
"crm",
"v2.1",
"Leads",
"deleted"
],
"query": [
{
"key": "type",
"value": "all"
}
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Server",
"value": "ZGS"
},
{
"key": "Date",
"value": "Thu, 13 May 2021 06:50:36 GMT"
},
{
"key": "Content-Type",
"value": "application/json;charset=utf-8"
},
{
"key": "Content-Length",
"value": "192"
},
{
"key": "Connection",
"value": "keep-alive"
},
{
"key": "Referrer-Policy",
"value": "strict-origin"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
},
{
"key": "Pragma",
"value": "no-cache"
},
{
"key": "Cache-Control",
"value": "no-cache"
},
{
"key": "Expires",
"value": "Thu, 01 Jan 1970 00:00:00 GMT"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "X-Download-Options",
"value": "noopen"
}
],
"cookie": [
],
"body": "{\n \"code\": \"INVALID_REQUEST\",\n \"details\": {},\n \"message\": \"unable to process your request. please verify whether you have entered proper method name, parameter and parameter values.\",\n \"status\": \"error\"\n}"
}
]
}