Chilkat Online Tools

C / Creatio API / $filter parameter with length function (lt operator)

Back to Collection Items

#include <C_CkHttp.h>
#include <C_CkJsonObject.h>
#include <C_CkHttpResponse.h>
#include <C_CkStringBuilder.h>
#include <C_CkXml.h>

void ChilkatSample(void)
    {
    HCkHttp http;
    BOOL success;
    HCkJsonObject queryParams;
    HCkHttpResponse resp;
    HCkStringBuilder sbResponseBody;
    HCkXml xmlResponse;
    const char *link_type;
    const char *feed_xml_base;
    const char *feed_xmlns;
    const char *feed_xmlns_d;
    const char *feed_xmlns_m;
    const char *id;
    const char *title_type;
    const char *title;
    const char *updated;
    const char *link_rel;
    const char *link_title;
    const char *link_href;
    const char *category_term;
    const char *category_scheme;
    int i;
    int count_i;
    const char *content_type;
    const char *d_Id_m_type;
    const char *d_Id;
    const char *d_Name;
    const char *d_CreatedOn_m_type;
    const char *d_CreatedOn;
    const char *d_CreatedById_m_type;
    const char *d_CreatedById;
    const char *d_ModifiedOn_m_type;
    const char *d_ModifiedOn;
    const char *d_ModifiedById_m_type;
    const char *d_ModifiedById;
    const char *d_ProcessListeners_m_type;
    int d_ProcessListeners;
    const char *d_ContactId_m_type;
    const char *d_ContactId;
    const char *d_OrgStructureUnitId_m_type;
    const char *d_OrgStructureUnitId;
    const char *d_JobId_m_type;
    const char *d_JobId;
    const char *d_FullJobTitle;
    const char *d_OwnerId_m_type;
    const char *d_OwnerId;
    const char *d_CareerStartDate_m_type;
    const char *d_CareerStartDate;
    const char *d_CareerDueDate_m_type;
    const char *d_CareerDueDate;
    const char *d_ProbationDueDate_m_type;
    const char *d_ProbationDueDate;
    const char *d_ReasonForDismissalId_m_type;
    const char *d_ReasonForDismissalId;
    const char *d_AccountId_m_type;
    const char *d_AccountId;
    const char *d_ManagerId_m_type;
    const char *d_ManagerId;

    // 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,"$filter","length(Field2) lt Field2Value");

    CkHttp_SetRequestHeader(http,"ForceUseSession","true");
    CkHttp_SetRequestHeader(http,"BPMCSRF","{{BPMCSRF}}");

    resp = CkHttp_QuickRequestParams(http,"GET","https://myserver.com/0/ServiceModel/EntityDataService.svc/Collection1Collection",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);
    CkHttpResponse_Dispose(resp);

    xmlResponse = CkXml_Create();
    CkXml_LoadSb(xmlResponse,sbResponseBody,TRUE);
    printf("%s\n",CkXml_getXml(xmlResponse));

    // Sample XML response:
    // (Sample code for parsing the XML response is shown below)

    // <?xml version="1.0" encoding="utf-8"?>
    // <feed xml:base="https://myserver.com/0/ServiceModel/EntityDataService.svc/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
    //     <id>https://myserver.com/0/ServiceModel/EntityDataService.svc/EmployeeCollection</id>
    //     <title type="text">EmployeeCollection</title>
    //     <updated>2020-04-09T11:28:57Z</updated>
    //     <link rel="self" title="EmployeeCollection" href="EmployeeCollection"/>
    //     <entry>
    //         <id>https://myserver.com/0/ServiceModel/EntityDataService.svc/EmployeeCollection(guid'26fffdc9-a184-47a7-a6b6-cafc9fe58327')</id>
    //         <category term="Terrasoft.Configuration.Employee" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/>
    //         <link rel="edit" title="Employee" href="EmployeeCollection(guid'26fffdc9-a184-47a7-a6b6-cafc9fe58327')"/>
    //         <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/CreatedBy" type="application/atom+xml;type=entry" title="CreatedBy" href="EmployeeCollection(guid'26fffdc9-a184-47a7-a6b6-cafc9fe58327')/CreatedBy"/>
    //         <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ModifiedBy" type="application/atom+xml;type=entry" title="ModifiedBy" href="EmployeeCollection(guid'26fffdc9-a184-47a7-a6b6-cafc9fe58327')/ModifiedBy"/>
    //         <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Contact" type="application/atom+xml;type=entry" title="Contact" href="EmployeeCollection(guid'26fffdc9-a184-47a7-a6b6-cafc9fe58327')/Contact"/>
    //         <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/OrgStructureUnitCollectionByHead" type="application/atom+xml;type=feed" title="OrgStructureUnitCollectionByHead" href="EmployeeCollection(guid'26fffdc9-a184-47a7-a6b6-cafc9fe58327')/OrgStructureUnitCollectionByHead"/>
    //         <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/OrgStructureUnit" type="application/atom+xml;type=entry" title="OrgStructureUnit" href="EmployeeCollection(guid'26fffdc9-a184-47a7-a6b6-cafc9fe58327')/OrgStructureUnit"/>
    //         <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Job" type="application/atom+xml;type=entry" title="Job" href="EmployeeCollection(guid'26fffdc9-a184-47a7-a6b6-cafc9fe58327')/Job"/>
    //         <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Owner" type="application/atom+xml;type=entry" title="Owner" href="EmployeeCollection(guid'26fffdc9-a184-47a7-a6b6-cafc9fe58327')/Owner"/>
    //         <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ReasonForDismissal" type="application/atom+xml;type=entry" title="ReasonForDismissal" href="EmployeeCollection(guid'26fffdc9-a184-47a7-a6b6-cafc9fe58327')/ReasonForDismissal"/>
    //         <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Account" type="application/atom+xml;type=entry" title="Account" href="EmployeeCollection(guid'26fffdc9-a184-47a7-a6b6-cafc9fe58327')/Account"/>
    //         <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Manager" type="application/atom+xml;type=entry" title="Manager" href="EmployeeCollection(guid'26fffdc9-a184-47a7-a6b6-cafc9fe58327')/Manager"/>
    //         <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeCollectionByManager" type="application/atom+xml;type=feed" title="EmployeeCollectionByManager" href="EmployeeCollection(guid'26fffdc9-a184-47a7-a6b6-cafc9fe58327')/EmployeeCollectionByManager"/>
    //         <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeCareerCollectionByEmployee" type="application/atom+xml;type=feed" title="EmployeeCareerCollectionByEmployee" href="EmployeeCollection(guid'26fffdc9-a184-47a7-a6b6-cafc9fe58327')/EmployeeCareerCollectionByEmployee"/>
    //         <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeFileCollectionByEmployee" type="application/atom+xml;type=feed" title="EmployeeFileCollectionByEmployee" href="EmployeeCollection(guid'26fffdc9-a184-47a7-a6b6-cafc9fe58327')/EmployeeFileCollectionByEmployee"/>
    //         <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeInFolderCollectionByEmployee" type="application/atom+xml;type=feed" title="EmployeeInFolderCollectionByEmployee" href="EmployeeCollection(guid'26fffdc9-a184-47a7-a6b6-cafc9fe58327')/EmployeeInFolderCollectionByEmployee"/>
    //         <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeInTagCollectionByEntity" type="application/atom+xml;type=feed" title="EmployeeInTagCollectionByEntity" href="EmployeeCollection(guid'26fffdc9-a184-47a7-a6b6-cafc9fe58327')/EmployeeInTagCollectionByEntity"/>
    //         <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/SalaryCollectionByEmployee" type="application/atom+xml;type=feed" title="SalaryCollectionByEmployee" href="EmployeeCollection(guid'26fffdc9-a184-47a7-a6b6-cafc9fe58327')/SalaryCollectionByEmployee"/>
    //         <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/VwEmployeesHierarchyCollectionByEmployee" type="application/atom+xml;type=feed" title="VwEmployeesHierarchyCollectionByEmployee" href="EmployeeCollection(guid'26fffdc9-a184-47a7-a6b6-cafc9fe58327')/VwEmployeesHierarchyCollectionByEmployee"/>
    //         <title/>
    //         <updated>2020-04-09T11:28:57Z</updated>
    //         <author>
    //             <name/>
    //         </author>
    //         <content type="application/xml">
    //             <m:properties>
    //                 <d:Id m:type="Edm.Guid">26fffdc9-a184-47a7-a6b6-cafc9fe58327</d:Id>
    //                 <d:Name>Caleb Jones</d:Name>
    //                 <d:CreatedOn m:type="Edm.DateTime">2017-03-30T14:40:18Z</d:CreatedOn>
    //                 <d:CreatedById m:type="Edm.Guid">76929f8c-7e15-4c64-bdb0-adc62d383727</d:CreatedById>
    //                 <d:ModifiedOn m:type="Edm.DateTime">2017-03-31T07:05:59Z</d:ModifiedOn>
    //                 <d:ModifiedById m:type="Edm.Guid">76929f8c-7e15-4c64-bdb0-adc62d383727</d:ModifiedById>
    //                 <d:ProcessListeners m:type="Edm.Int32">0</d:ProcessListeners>
    //                 <d:ContactId m:type="Edm.Guid">8f9b52f9-b494-4642-8563-25d706f2d5db</d:ContactId>
    //                 <d:OrgStructureUnitId m:type="Edm.Guid">b3cf526e-4427-4daa-91a6-19411ddabacd</d:OrgStructureUnitId>
    //                 <d:Notes/>
    //                 <d:JobId m:type="Edm.Guid">34f48df9-56e6-df11-971b-001d60e938c6</d:JobId>
    //                 <d:FullJobTitle>CEO</d:FullJobTitle>
    //                 <d:OwnerId m:type="Edm.Guid">76929f8c-7e15-4c64-bdb0-adc62d383727</d:OwnerId>
    //                 <d:CareerStartDate m:type="Edm.DateTime">2017-12-10T00:00:00</d:CareerStartDate>
    //                 <d:CareerDueDate m:type="Edm.DateTime">0001-01-01T00:00:00</d:CareerDueDate>
    //                 <d:ProbationDueDate m:type="Edm.DateTime">0001-01-01T00:00:00</d:ProbationDueDate>
    //                 <d:ReasonForDismissalId m:type="Edm.Guid">00000000-0000-0000-0000-000000000000</d:ReasonForDismissalId>
    //                 <d:AccountId m:type="Edm.Guid">e308b781-3c5b-4ecb-89ef-5c1ed4da488e</d:AccountId>
    //                 <d:ManagerId m:type="Edm.Guid">00000000-0000-0000-0000-000000000000</d:ManagerId>
    //             </m:properties>
    //         </content>
    //     </entry>
    // </feed>

    // Sample code for parsing the XML response...
    // Use this online tool to generate parsing code from sample XML: Generate XML Parsing Code

    // Chilkat functions returning "const char *" return a pointer to temporary internal memory owned and managed by Chilkat.

    feed_xml_base = CkXml_getAttrValue(xmlResponse,"xml:base");
    feed_xmlns = CkXml_getAttrValue(xmlResponse,"xmlns");
    feed_xmlns_d = CkXml_getAttrValue(xmlResponse,"xmlns:d");
    feed_xmlns_m = CkXml_getAttrValue(xmlResponse,"xmlns:m");
    id = CkXml_getChildContent(xmlResponse,"id");
    title_type = CkXml_chilkatPath(xmlResponse,"title|(type)");
    title = CkXml_getChildContent(xmlResponse,"title");
    updated = CkXml_getChildContent(xmlResponse,"updated");
    link_rel = CkXml_chilkatPath(xmlResponse,"link|(rel)");
    link_title = CkXml_chilkatPath(xmlResponse,"link|(title)");
    link_href = CkXml_chilkatPath(xmlResponse,"link|(href)");
    id = CkXml_getChildContent(xmlResponse,"entry|id");
    category_term = CkXml_chilkatPath(xmlResponse,"entry|category|(term)");
    category_scheme = CkXml_chilkatPath(xmlResponse,"entry|category|(scheme)");
    i = 0;
    count_i = CkXml_NumChildrenHavingTag(xmlResponse,"entry|link");
    while (i < count_i) {
        CkXml_putI(xmlResponse,i);
        link_rel = CkXml_chilkatPath(xmlResponse,"entry|link[i]|(rel)");
        link_title = CkXml_chilkatPath(xmlResponse,"entry|link[i]|(title)");
        link_href = CkXml_chilkatPath(xmlResponse,"entry|link[i]|(href)");
        link_type = CkXml_chilkatPath(xmlResponse,"entry|link[i]|(type)");
        i = i + 1;
    }

    updated = CkXml_getChildContent(xmlResponse,"entry|updated");
    content_type = CkXml_chilkatPath(xmlResponse,"entry|content|(type)");
    d_Id_m_type = CkXml_chilkatPath(xmlResponse,"entry|content|m:properties|d:Id|(m:type)");
    d_Id = CkXml_getChildContent(xmlResponse,"entry|content|m:properties|d:Id");
    d_Name = CkXml_getChildContent(xmlResponse,"entry|content|m:properties|d:Name");
    d_CreatedOn_m_type = CkXml_chilkatPath(xmlResponse,"entry|content|m:properties|d:CreatedOn|(m:type)");
    d_CreatedOn = CkXml_getChildContent(xmlResponse,"entry|content|m:properties|d:CreatedOn");
    d_CreatedById_m_type = CkXml_chilkatPath(xmlResponse,"entry|content|m:properties|d:CreatedById|(m:type)");
    d_CreatedById = CkXml_getChildContent(xmlResponse,"entry|content|m:properties|d:CreatedById");
    d_ModifiedOn_m_type = CkXml_chilkatPath(xmlResponse,"entry|content|m:properties|d:ModifiedOn|(m:type)");
    d_ModifiedOn = CkXml_getChildContent(xmlResponse,"entry|content|m:properties|d:ModifiedOn");
    d_ModifiedById_m_type = CkXml_chilkatPath(xmlResponse,"entry|content|m:properties|d:ModifiedById|(m:type)");
    d_ModifiedById = CkXml_getChildContent(xmlResponse,"entry|content|m:properties|d:ModifiedById");
    d_ProcessListeners_m_type = CkXml_chilkatPath(xmlResponse,"entry|content|m:properties|d:ProcessListeners|(m:type)");
    d_ProcessListeners = CkXml_GetChildIntValue(xmlResponse,"entry|content|m:properties|d:ProcessListeners");
    d_ContactId_m_type = CkXml_chilkatPath(xmlResponse,"entry|content|m:properties|d:ContactId|(m:type)");
    d_ContactId = CkXml_getChildContent(xmlResponse,"entry|content|m:properties|d:ContactId");
    d_OrgStructureUnitId_m_type = CkXml_chilkatPath(xmlResponse,"entry|content|m:properties|d:OrgStructureUnitId|(m:type)");
    d_OrgStructureUnitId = CkXml_getChildContent(xmlResponse,"entry|content|m:properties|d:OrgStructureUnitId");
    d_JobId_m_type = CkXml_chilkatPath(xmlResponse,"entry|content|m:properties|d:JobId|(m:type)");
    d_JobId = CkXml_getChildContent(xmlResponse,"entry|content|m:properties|d:JobId");
    d_FullJobTitle = CkXml_getChildContent(xmlResponse,"entry|content|m:properties|d:FullJobTitle");
    d_OwnerId_m_type = CkXml_chilkatPath(xmlResponse,"entry|content|m:properties|d:OwnerId|(m:type)");
    d_OwnerId = CkXml_getChildContent(xmlResponse,"entry|content|m:properties|d:OwnerId");
    d_CareerStartDate_m_type = CkXml_chilkatPath(xmlResponse,"entry|content|m:properties|d:CareerStartDate|(m:type)");
    d_CareerStartDate = CkXml_getChildContent(xmlResponse,"entry|content|m:properties|d:CareerStartDate");
    d_CareerDueDate_m_type = CkXml_chilkatPath(xmlResponse,"entry|content|m:properties|d:CareerDueDate|(m:type)");
    d_CareerDueDate = CkXml_getChildContent(xmlResponse,"entry|content|m:properties|d:CareerDueDate");
    d_ProbationDueDate_m_type = CkXml_chilkatPath(xmlResponse,"entry|content|m:properties|d:ProbationDueDate|(m:type)");
    d_ProbationDueDate = CkXml_getChildContent(xmlResponse,"entry|content|m:properties|d:ProbationDueDate");
    d_ReasonForDismissalId_m_type = CkXml_chilkatPath(xmlResponse,"entry|content|m:properties|d:ReasonForDismissalId|(m:type)");
    d_ReasonForDismissalId = CkXml_getChildContent(xmlResponse,"entry|content|m:properties|d:ReasonForDismissalId");
    d_AccountId_m_type = CkXml_chilkatPath(xmlResponse,"entry|content|m:properties|d:AccountId|(m:type)");
    d_AccountId = CkXml_getChildContent(xmlResponse,"entry|content|m:properties|d:AccountId");
    d_ManagerId_m_type = CkXml_chilkatPath(xmlResponse,"entry|content|m:properties|d:ManagerId|(m:type)");
    d_ManagerId = CkXml_getChildContent(xmlResponse,"entry|content|m:properties|d:ManagerId");


    CkHttp_Dispose(http);
    CkJsonObject_Dispose(queryParams);
    CkStringBuilder_Dispose(sbResponseBody);
    CkXml_Dispose(xmlResponse);

    }

Curl Command

curl -G -d "$filter=length%28Field2%29%20lt%20Field2Value"
	-H "ForceUseSession: true"
	-H "BPMCSRF: {{BPMCSRF}}"
https://myserver.com/0/ServiceModel/EntityDataService.svc/Collection1Collection

Postman Collection Item JSON

{
  "name": "$filter parameter with length function (lt operator)",
  "protocolProfileBehavior": {
    "disableBodyPruning": true
  },
  "request": {
    "method": "GET",
    "header": [
      {
        "key": "ForceUseSession",
        "type": "text",
        "value": "true"
      },
      {
        "key": "BPMCSRF",
        "type": "text",
        "value": "{{BPMCSRF}}"
      }
    ],
    "body": {
      "mode": "raw",
      "raw": ""
    },
    "url": {
      "raw": "{{BaseURI}}/0/ServiceModel/EntityDataService.svc/{{CollectionName1}}Collection?$filter=length({{FieldName2}}) lt {{FieldName2Value4}}",
      "host": [
        "{{BaseURI}}"
      ],
      "path": [
        "0",
        "ServiceModel",
        "EntityDataService.svc",
        "{{CollectionName1}}Collection"
      ],
      "query": [
        {
          "key": "$filter",
          "value": "length({{FieldName2}}) lt {{FieldName2Value4}}"
        }
      ]
    },
    "description": "Request for getting filtered object collection instances via the [$filter](https://www.odata.org/documentation/odata-version-3-0/odata-version-3-0-core-protocol/#thefiltersystemqueryoption) parameter and the length function with the lt operator."
  },
  "response": [
    {
      "name": "[200] Gets object collection instances; filter with the “lt” operator (length less than a set value)",
      "originalRequest": {
        "method": "GET",
        "header": [
          {
            "key": "ForceUseSession",
            "type": "text",
            "value": "true"
          },
          {
            "key": "BPMCSRF",
            "type": "text",
            "value": "{{BPMCSRF}}"
          }
        ],
        "url": {
          "raw": "https://myserver.com/0/ServiceModel/EntityDataService.svc/EmployeeCollection?$filter=length(FullJobTitle) lt 9",
          "protocol": "https",
          "host": [
            "myserver",
            "com"
          ],
          "path": [
            "0",
            "ServiceModel",
            "EntityDataService.svc",
            "EmployeeCollection"
          ],
          "query": [
            {
              "key": "$filter",
              "value": "length(FullJobTitle) lt 9"
            }
          ]
        }
      },
      "status": "OK",
      "code": 200,
      "_postman_previewlanguage": "xml",
      "header": [
        {
          "key": "Cache-Control",
          "value": "no-cache"
        },
        {
          "key": "Content-Type",
          "value": "application/atom+xml;type=feed;charset=utf-8"
        },
        {
          "key": "Server",
          "value": "Microsoft-IIS/10.0"
        },
        {
          "key": "X-Content-Type-Options",
          "value": "nosniff"
        },
        {
          "key": "X-Content-Type-Options",
          "value": "nosniff"
        },
        {
          "key": "DataServiceVersion",
          "value": "2.0;"
        },
        {
          "key": "X-AspNet-Version",
          "value": "4.0.30319"
        },
        {
          "key": "X-Powered-By",
          "value": "ASP.NET"
        },
        {
          "key": "X-Frame-Options",
          "value": "SAMEORIGIN"
        },
        {
          "key": "Date",
          "value": "Thu, 09 Apr 2020 11:28:57 GMT"
        },
        {
          "key": "Content-Length",
          "value": "6748"
        }
      ],
      "cookie": [
      ],
      "body": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<feed xml:base=\"https://myserver.com/0/ServiceModel/EntityDataService.svc/\" xmlns=\"http://www.w3.org/2005/Atom\" xmlns:d=\"http://schemas.microsoft.com/ado/2007/08/dataservices\" xmlns:m=\"http://schemas.microsoft.com/ado/2007/08/dataservices/metadata\">\n    <id>https://myserver.com/0/ServiceModel/EntityDataService.svc/EmployeeCollection</id>\n    <title type=\"text\">EmployeeCollection</title>\n    <updated>2020-04-09T11:28:57Z</updated>\n    <link rel=\"self\" title=\"EmployeeCollection\" href=\"EmployeeCollection\" />\n    <entry>\n        <id>https://myserver.com/0/ServiceModel/EntityDataService.svc/EmployeeCollection(guid'26fffdc9-a184-47a7-a6b6-cafc9fe58327')</id>\n        <category term=\"Terrasoft.Configuration.Employee\" scheme=\"http://schemas.microsoft.com/ado/2007/08/dataservices/scheme\" />\n        <link rel=\"edit\" title=\"Employee\" href=\"EmployeeCollection(guid'26fffdc9-a184-47a7-a6b6-cafc9fe58327')\" />\n        <link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/CreatedBy\" type=\"application/atom+xml;type=entry\" title=\"CreatedBy\" href=\"EmployeeCollection(guid'26fffdc9-a184-47a7-a6b6-cafc9fe58327')/CreatedBy\" />\n        <link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/ModifiedBy\" type=\"application/atom+xml;type=entry\" title=\"ModifiedBy\" href=\"EmployeeCollection(guid'26fffdc9-a184-47a7-a6b6-cafc9fe58327')/ModifiedBy\" />\n        <link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/Contact\" type=\"application/atom+xml;type=entry\" title=\"Contact\" href=\"EmployeeCollection(guid'26fffdc9-a184-47a7-a6b6-cafc9fe58327')/Contact\" />\n        <link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/OrgStructureUnitCollectionByHead\" type=\"application/atom+xml;type=feed\" title=\"OrgStructureUnitCollectionByHead\" href=\"EmployeeCollection(guid'26fffdc9-a184-47a7-a6b6-cafc9fe58327')/OrgStructureUnitCollectionByHead\" />\n        <link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/OrgStructureUnit\" type=\"application/atom+xml;type=entry\" title=\"OrgStructureUnit\" href=\"EmployeeCollection(guid'26fffdc9-a184-47a7-a6b6-cafc9fe58327')/OrgStructureUnit\" />\n        <link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/Job\" type=\"application/atom+xml;type=entry\" title=\"Job\" href=\"EmployeeCollection(guid'26fffdc9-a184-47a7-a6b6-cafc9fe58327')/Job\" />\n        <link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/Owner\" type=\"application/atom+xml;type=entry\" title=\"Owner\" href=\"EmployeeCollection(guid'26fffdc9-a184-47a7-a6b6-cafc9fe58327')/Owner\" />\n        <link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/ReasonForDismissal\" type=\"application/atom+xml;type=entry\" title=\"ReasonForDismissal\" href=\"EmployeeCollection(guid'26fffdc9-a184-47a7-a6b6-cafc9fe58327')/ReasonForDismissal\" />\n        <link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/Account\" type=\"application/atom+xml;type=entry\" title=\"Account\" href=\"EmployeeCollection(guid'26fffdc9-a184-47a7-a6b6-cafc9fe58327')/Account\" />\n        <link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/Manager\" type=\"application/atom+xml;type=entry\" title=\"Manager\" href=\"EmployeeCollection(guid'26fffdc9-a184-47a7-a6b6-cafc9fe58327')/Manager\" />\n        <link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeCollectionByManager\" type=\"application/atom+xml;type=feed\" title=\"EmployeeCollectionByManager\" href=\"EmployeeCollection(guid'26fffdc9-a184-47a7-a6b6-cafc9fe58327')/EmployeeCollectionByManager\" />\n        <link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeCareerCollectionByEmployee\" type=\"application/atom+xml;type=feed\" title=\"EmployeeCareerCollectionByEmployee\" href=\"EmployeeCollection(guid'26fffdc9-a184-47a7-a6b6-cafc9fe58327')/EmployeeCareerCollectionByEmployee\" />\n        <link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeFileCollectionByEmployee\" type=\"application/atom+xml;type=feed\" title=\"EmployeeFileCollectionByEmployee\" href=\"EmployeeCollection(guid'26fffdc9-a184-47a7-a6b6-cafc9fe58327')/EmployeeFileCollectionByEmployee\" />\n        <link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeInFolderCollectionByEmployee\" type=\"application/atom+xml;type=feed\" title=\"EmployeeInFolderCollectionByEmployee\" href=\"EmployeeCollection(guid'26fffdc9-a184-47a7-a6b6-cafc9fe58327')/EmployeeInFolderCollectionByEmployee\" />\n        <link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeInTagCollectionByEntity\" type=\"application/atom+xml;type=feed\" title=\"EmployeeInTagCollectionByEntity\" href=\"EmployeeCollection(guid'26fffdc9-a184-47a7-a6b6-cafc9fe58327')/EmployeeInTagCollectionByEntity\" />\n        <link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/SalaryCollectionByEmployee\" type=\"application/atom+xml;type=feed\" title=\"SalaryCollectionByEmployee\" href=\"EmployeeCollection(guid'26fffdc9-a184-47a7-a6b6-cafc9fe58327')/SalaryCollectionByEmployee\" />\n        <link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/VwEmployeesHierarchyCollectionByEmployee\" type=\"application/atom+xml;type=feed\" title=\"VwEmployeesHierarchyCollectionByEmployee\" href=\"EmployeeCollection(guid'26fffdc9-a184-47a7-a6b6-cafc9fe58327')/VwEmployeesHierarchyCollectionByEmployee\" />\n        <title />\n        <updated>2020-04-09T11:28:57Z</updated>\n        <author>\n            <name />\n        </author>\n        <content type=\"application/xml\">\n            <m:properties>\n                <d:Id m:type=\"Edm.Guid\">26fffdc9-a184-47a7-a6b6-cafc9fe58327</d:Id>\n                <d:Name>Caleb Jones</d:Name>\n                <d:CreatedOn m:type=\"Edm.DateTime\">2017-03-30T14:40:18Z</d:CreatedOn>\n                <d:CreatedById m:type=\"Edm.Guid\">76929f8c-7e15-4c64-bdb0-adc62d383727</d:CreatedById>\n                <d:ModifiedOn m:type=\"Edm.DateTime\">2017-03-31T07:05:59Z</d:ModifiedOn>\n                <d:ModifiedById m:type=\"Edm.Guid\">76929f8c-7e15-4c64-bdb0-adc62d383727</d:ModifiedById>\n                <d:ProcessListeners m:type=\"Edm.Int32\">0</d:ProcessListeners>\n                <d:ContactId m:type=\"Edm.Guid\">8f9b52f9-b494-4642-8563-25d706f2d5db</d:ContactId>\n                <d:OrgStructureUnitId m:type=\"Edm.Guid\">b3cf526e-4427-4daa-91a6-19411ddabacd</d:OrgStructureUnitId>\n                <d:Notes></d:Notes>\n                <d:JobId m:type=\"Edm.Guid\">34f48df9-56e6-df11-971b-001d60e938c6</d:JobId>\n                <d:FullJobTitle>CEO</d:FullJobTitle>\n                <d:OwnerId m:type=\"Edm.Guid\">76929f8c-7e15-4c64-bdb0-adc62d383727</d:OwnerId>\n                <d:CareerStartDate m:type=\"Edm.DateTime\">2017-12-10T00:00:00</d:CareerStartDate>\n                <d:CareerDueDate m:type=\"Edm.DateTime\">0001-01-01T00:00:00</d:CareerDueDate>\n                <d:ProbationDueDate m:type=\"Edm.DateTime\">0001-01-01T00:00:00</d:ProbationDueDate>\n                <d:ReasonForDismissalId m:type=\"Edm.Guid\">00000000-0000-0000-0000-000000000000</d:ReasonForDismissalId>\n                <d:AccountId m:type=\"Edm.Guid\">e308b781-3c5b-4ecb-89ef-5c1ed4da488e</d:AccountId>\n                <d:ManagerId m:type=\"Edm.Guid\">00000000-0000-0000-0000-000000000000</d:ManagerId>\n            </m:properties>\n        </content>\n    </entry>\n</feed>"
    }
  ]
}