Chilkat Online Tools

C++ / Creatio API / $select parameter

Back to Collection Items

#include <CkHttp.h>
#include <CkJsonObject.h>
#include <CkHttpResponse.h>
#include <CkStringBuilder.h>
#include <CkXml.h>

void ChilkatSample(void)
    {
    // This example assumes the Chilkat API to have been previously unlocked.
    // See Global Unlock Sample for sample code.

    CkHttp http;
    bool success;

    CkJsonObject queryParams;
    queryParams.UpdateString("$select","Field1,Field2");

    http.SetRequestHeader("ForceUseSession","true");
    http.SetRequestHeader("BPMCSRF","{{BPMCSRF}}");

    CkHttpResponse *resp = http.QuickRequestParams("GET","https://myserver.com/0/ServiceModel/EntityDataService.svc/Collection1Collection",queryParams);
    if (http.get_LastMethodSuccess() == false) {
        std::cout << http.lastErrorText() << "\r\n";
        return;
    }

    CkStringBuilder sbResponseBody;
    resp->GetBodySb(sbResponseBody);
    delete resp;

    CkXml xmlResponse;
    xmlResponse.LoadSb(sbResponseBody,true);
    std::cout << xmlResponse.getXml() << "\r\n";

    // 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:21:02Z</updated>
    //     <link rel="self" title="EmployeeCollection" href="EmployeeCollection"/>
    //     <entry>
    //         <id>https://myserver.com/0/ServiceModel/EntityDataService.svc/EmployeeCollection(guid'c31c7862-fe33-4a13-9bbc-0943fa08fd02')</id>
    //         <category term="Terrasoft.Configuration.Employee" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/>
    //         <link rel="edit" title="Employee" href="EmployeeCollection(guid'c31c7862-fe33-4a13-9bbc-0943fa08fd02')"/>
    //         <title/>
    //         <updated>2020-04-09T11:21:02Z</updated>
    //         <author>
    //             <name/>
    //         </author>
    //         <content type="application/xml">
    //             <m:properties>
    //                 <d:Name>William Walker</d:Name>
    //                 <d:FullJobTitle>Developer</d:FullJobTitle>
    //             </m:properties>
    //         </content>
    //     </entry>
    //     <entry>
    //         <id>https://myserver.com/0/ServiceModel/EntityDataService.svc/EmployeeCollection(guid'ddb34ecb-f009-484a-ad2b-0a49a475bdb2')</id>
    //         <category term="Terrasoft.Configuration.Employee" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/>
    //         <link rel="edit" title="Employee" href="EmployeeCollection(guid'ddb34ecb-f009-484a-ad2b-0a49a475bdb2')"/>
    //         <title/>
    //         <updated>2020-04-09T11:21:02Z</updated>
    //         <author>
    //             <name/>
    //         </author>
    //         <content type="application/xml">
    //             <m:properties>
    //                 <d:Name>Timothy Sawyer</d:Name>
    //                 <d:FullJobTitle>Developer</d:FullJobTitle>
    //             </m:properties>
    //         </content>
    //     </entry>
    //     <entry>
    //         <id>https://myserver.com/0/ServiceModel/EntityDataService.svc/EmployeeCollection(guid'0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755')</id>
    //         <category term="Terrasoft.Configuration.Employee" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/>
    //         <link rel="edit" title="Employee" href="EmployeeCollection(guid'0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755')"/>
    //         <title/>
    //         <updated>2020-04-09T11:21:02Z</updated>
    //         <author>
    //             <name/>
    //         </author>
    //         <content type="application/xml">
    //             <m:properties>
    //                 <d:Name>Symon Clarke</d:Name>
    //                 <d:FullJobTitle>Marketing manager</d:FullJobTitle>
    //             </m:properties>
    //         </content>
    //     </entry>
    //     <entry>
    //         <id>https://myserver.com/0/ServiceModel/EntityDataService.svc/EmployeeCollection(guid'9842387d-069f-466c-9551-32cedbc16d90')</id>
    //         <category term="Terrasoft.Configuration.Employee" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/>
    //         <link rel="edit" title="Employee" href="EmployeeCollection(guid'9842387d-069f-466c-9551-32cedbc16d90')"/>
    //         <title/>
    //         <updated>2020-04-09T11:21:02Z</updated>
    //         <author>
    //             <name/>
    //         </author>
    //         <content type="application/xml">
    //             <m:properties>
    //                 <d:Name>Mary King</d:Name>
    //                 <d:FullJobTitle>Customer manager</d:FullJobTitle>
    //             </m:properties>
    //         </content>
    //     </entry>
    //     <entry>
    //         <id>https://myserver.com/0/ServiceModel/EntityDataService.svc/EmployeeCollection(guid'f11df686-a557-4790-99e5-36ec8dcd2f00')</id>
    //         <category term="Terrasoft.Configuration.Employee" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/>
    //         <link rel="edit" title="Employee" href="EmployeeCollection(guid'f11df686-a557-4790-99e5-36ec8dcd2f00')"/>
    //         <title/>
    //         <updated>2020-04-09T11:21:02Z</updated>
    //         <author>
    //             <name/>
    //         </author>
    //         <content type="application/xml">
    //             <m:properties>
    //                 <d:Name>Sarah M. Richards</d:Name>
    //                 <d:FullJobTitle>Head of accounting department</d:FullJobTitle>
    //             </m:properties>
    //         </content>
    //     </entry>
    //     <entry>
    //         <id>https://myserver.com/0/ServiceModel/EntityDataService.svc/EmployeeCollection(guid'82c5f81c-4018-44f1-8dcb-738704fd21c4')</id>
    //         <category term="Terrasoft.Configuration.Employee" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/>
    //         <link rel="edit" title="Employee" href="EmployeeCollection(guid'82c5f81c-4018-44f1-8dcb-738704fd21c4')"/>
    //         <title/>
    //         <updated>2020-04-09T11:21:02Z</updated>
    //         <author>
    //             <name/>
    //         </author>
    //         <content type="application/xml">
    //             <m:properties>
    //                 <d:Name>Valerie E. Murphy</d:Name>
    //                 <d:FullJobTitle>Head of marketing department</d:FullJobTitle>
    //             </m:properties>
    //         </content>
    //     </entry>
    //     <entry>
    //         <id>https://myserver.com/0/ServiceModel/EntityDataService.svc/EmployeeCollection(guid'a98e1131-2852-4191-b7be-77e267aa075a')</id>
    //         <category term="Terrasoft.Configuration.Employee" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/>
    //         <link rel="edit" title="Employee" href="EmployeeCollection(guid'a98e1131-2852-4191-b7be-77e267aa075a')"/>
    //         <title/>
    //         <updated>2020-04-09T11:21:02Z</updated>
    //         <author>
    //             <name/>
    //         </author>
    //         <content type="application/xml">
    //             <m:properties>
    //                 <d:Name>Jason Robinson</d:Name>
    //                 <d:FullJobTitle>Specialist</d:FullJobTitle>
    //             </m:properties>
    //         </content>
    //     </entry>
    //     <entry>
    //         <id>https://myserver.com/0/ServiceModel/EntityDataService.svc/EmployeeCollection(guid'3b952b60-2502-4ab2-a967-7f898f8b8b55')</id>
    //         <category term="Terrasoft.Configuration.Employee" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/>
    //         <link rel="edit" title="Employee" href="EmployeeCollection(guid'3b952b60-2502-4ab2-a967-7f898f8b8b55')"/>
    //         <title/>
    //         <updated>2020-04-09T11:21:02Z</updated>
    //         <author>
    //             <name/>
    //         </author>
    //         <content type="application/xml">
    //             <m:properties>
    //                 <d:Name>Megan Lewis</d:Name>
    //                 <d:FullJobTitle>Customer manager</d:FullJobTitle>
    //             </m:properties>
    //         </content>
    //     </entry>
    //     <entry>
    //         <id>https://myserver.com/0/ServiceModel/EntityDataService.svc/EmployeeCollection(guid'3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb')</id>
    //         <category term="Terrasoft.Configuration.Employee" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/>
    //         <link rel="edit" title="Employee" href="EmployeeCollection(guid'3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb')"/>
    //         <title/>
    //         <updated>2020-04-09T11:21:02Z</updated>
    //         <author>
    //             <name/>
    //         </author>
    //         <content type="application/xml">
    //             <m:properties>
    //                 <d:Name>Peter Moore</d:Name>
    //                 <d:FullJobTitle>Head of development department</d:FullJobTitle>
    //             </m:properties>
    //         </content>
    //     </entry>
    //     <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')"/>
    //         <title/>
    //         <updated>2020-04-09T11:21:02Z</updated>
    //         <author>
    //             <name/>
    //         </author>
    //         <content type="application/xml">
    //             <m:properties>
    //                 <d:Name>Caleb Jones</d:Name>
    //                 <d:FullJobTitle>CEO</d:FullJobTitle>
    //             </m:properties>
    //         </content>
    //     </entry>
    //     <entry>
    //         <id>https://myserver.com/0/ServiceModel/EntityDataService.svc/EmployeeCollection(guid'e17c9cd6-262d-481d-86a9-f09a82984e0e')</id>
    //         <category term="Terrasoft.Configuration.Employee" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/>
    //         <link rel="edit" title="Employee" href="EmployeeCollection(guid'e17c9cd6-262d-481d-86a9-f09a82984e0e')"/>
    //         <title/>
    //         <updated>2020-04-09T11:21:02Z</updated>
    //         <author>
    //             <name/>
    //         </author>
    //         <content type="application/xml">
    //             <m:properties>
    //                 <d:Name>John Best</d:Name>
    //                 <d:FullJobTitle>Head of sales department</d:FullJobTitle>
    //             </m:properties>
    //         </content>
    //     </entry>
    //     <entry>
    //         <id>https://myserver.com/0/ServiceModel/EntityDataService.svc/EmployeeCollection(guid'3eff8e22-8690-4bd7-b4c4-f3e1c8174410')</id>
    //         <category term="Terrasoft.Configuration.Employee" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/>
    //         <link rel="edit" title="Employee" href="EmployeeCollection(guid'3eff8e22-8690-4bd7-b4c4-f3e1c8174410')"/>
    //         <title/>
    //         <updated>2020-04-09T11:21:02Z</updated>
    //         <author>
    //             <name/>
    //         </author>
    //         <content type="application/xml">
    //             <m:properties>
    //                 <d:Name>Tiffany J. Martin</d:Name>
    //                 <d:FullJobTitle>IT Support Engineer</d:FullJobTitle>
    //             </m:properties>
    //         </content>
    //     </entry>
    //     <entry>
    //         <id>https://myserver.com/0/ServiceModel/EntityDataService.svc/EmployeeCollection(guid'cff2b81f-6f47-429a-acf8-fb751bd4575e')</id>
    //         <category term="Terrasoft.Configuration.Employee" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/>
    //         <link rel="edit" title="Employee" href="EmployeeCollection(guid'cff2b81f-6f47-429a-acf8-fb751bd4575e')"/>
    //         <title/>
    //         <updated>2020-04-09T11:21:02Z</updated>
    //         <author>
    //             <name/>
    //         </author>
    //         <content type="application/xml">
    //             <m:properties>
    //                 <d:Name>Tracy Wilkinson</d:Name>
    //                 <d:FullJobTitle>Marketing manager</d:FullJobTitle>
    //             </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.

    const char *category_term = 0;
    const char *category_scheme = 0;
    const char *content_type = 0;
    const char *d_Name = 0;
    const char *d_FullJobTitle = 0;

    const char *feed_xml_base = xmlResponse.getAttrValue("xml:base");
    const char *feed_xmlns = xmlResponse.getAttrValue("xmlns");
    const char *feed_xmlns_d = xmlResponse.getAttrValue("xmlns:d");
    const char *feed_xmlns_m = xmlResponse.getAttrValue("xmlns:m");
    const char *id = xmlResponse.getChildContent("id");
    const char *title_type = xmlResponse.chilkatPath("title|(type)");
    const char *title = xmlResponse.getChildContent("title");
    const char *updated = xmlResponse.getChildContent("updated");
    const char *link_rel = xmlResponse.chilkatPath("link|(rel)");
    const char *link_title = xmlResponse.chilkatPath("link|(title)");
    const char *link_href = xmlResponse.chilkatPath("link|(href)");
    int i = 0;
    int count_i = xmlResponse.NumChildrenHavingTag("entry");
    while (i < count_i) {
        xmlResponse.put_I(i);
        id = xmlResponse.getChildContent("entry[i]|id");
        category_term = xmlResponse.chilkatPath("entry[i]|category|(term)");
        category_scheme = xmlResponse.chilkatPath("entry[i]|category|(scheme)");
        link_rel = xmlResponse.chilkatPath("entry[i]|link|(rel)");
        link_title = xmlResponse.chilkatPath("entry[i]|link|(title)");
        link_href = xmlResponse.chilkatPath("entry[i]|link|(href)");
        updated = xmlResponse.getChildContent("entry[i]|updated");
        content_type = xmlResponse.chilkatPath("entry[i]|content|(type)");
        d_Name = xmlResponse.getChildContent("entry[i]|content|m:properties|d:Name");
        d_FullJobTitle = xmlResponse.getChildContent("entry[i]|content|m:properties|d:FullJobTitle");
        i = i + 1;
    }
    }

Curl Command

curl -G -d "$select=Field1,Field2"
	-H "ForceUseSession: true"
	-H "BPMCSRF: {{BPMCSRF}}"
https://myserver.com/0/ServiceModel/EntityDataService.svc/Collection1Collection

Postman Collection Item JSON

{
  "name": "$select parameter",
  "request": {
    "method": "GET",
    "header": [
      {
        "key": "ForceUseSession",
        "type": "text",
        "value": "true"
      },
      {
        "key": "BPMCSRF",
        "type": "text",
        "value": "{{BPMCSRF}}"
      }
    ],
    "url": {
      "raw": "{{BaseURI}}/0/ServiceModel/EntityDataService.svc/{{CollectionName1}}Collection?$select={{FieldName1}},{{FieldName2}}",
      "host": [
        "{{BaseURI}}"
      ],
      "path": [
        "0",
        "ServiceModel",
        "EntityDataService.svc",
        "{{CollectionName1}}Collection"
      ],
      "query": [
        {
          "key": "$select",
          "value": "{{FieldName1}},{{FieldName2}}"
        }
      ]
    },
    "description": "Request for getting specific fields from an object collection instances via the [$select](https://www.odata.org/documentation/odata-version-3-0/odata-version-3-0-core-protocol/#theselectsystemqueryoption) parameter."
  },
  "response": [
    {
      "name": "[200] Gets object collection instances with selected fields",
      "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?$select=Name,FullJobTitle",
          "protocol": "https",
          "host": [
            "myserver",
            "com"
          ],
          "path": [
            "0",
            "ServiceModel",
            "EntityDataService.svc",
            "EmployeeCollection"
          ],
          "query": [
            {
              "key": "$select",
              "value": "Name,FullJobTitle"
            }
          ]
        }
      },
      "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:21:02 GMT"
        },
        {
          "key": "Content-Length",
          "value": "8276"
        }
      ],
      "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:21:02Z</updated>\n    <link rel=\"self\" title=\"EmployeeCollection\" href=\"EmployeeCollection\" />\n    <entry>\n        <id>https://myserver.com/0/ServiceModel/EntityDataService.svc/EmployeeCollection(guid'c31c7862-fe33-4a13-9bbc-0943fa08fd02')</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'c31c7862-fe33-4a13-9bbc-0943fa08fd02')\" />\n        <title />\n        <updated>2020-04-09T11:21:02Z</updated>\n        <author>\n            <name />\n        </author>\n        <content type=\"application/xml\">\n            <m:properties>\n                <d:Name>William Walker</d:Name>\n                <d:FullJobTitle>Developer</d:FullJobTitle>\n            </m:properties>\n        </content>\n    </entry>\n    <entry>\n        <id>https://myserver.com/0/ServiceModel/EntityDataService.svc/EmployeeCollection(guid'ddb34ecb-f009-484a-ad2b-0a49a475bdb2')</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'ddb34ecb-f009-484a-ad2b-0a49a475bdb2')\" />\n        <title />\n        <updated>2020-04-09T11:21:02Z</updated>\n        <author>\n            <name />\n        </author>\n        <content type=\"application/xml\">\n            <m:properties>\n                <d:Name>Timothy Sawyer</d:Name>\n                <d:FullJobTitle>Developer</d:FullJobTitle>\n            </m:properties>\n        </content>\n    </entry>\n    <entry>\n        <id>https://myserver.com/0/ServiceModel/EntityDataService.svc/EmployeeCollection(guid'0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755')</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'0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755')\" />\n        <title />\n        <updated>2020-04-09T11:21:02Z</updated>\n        <author>\n            <name />\n        </author>\n        <content type=\"application/xml\">\n            <m:properties>\n                <d:Name>Symon Clarke</d:Name>\n                <d:FullJobTitle>Marketing manager</d:FullJobTitle>\n            </m:properties>\n        </content>\n    </entry>\n    <entry>\n        <id>https://myserver.com/0/ServiceModel/EntityDataService.svc/EmployeeCollection(guid'9842387d-069f-466c-9551-32cedbc16d90')</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'9842387d-069f-466c-9551-32cedbc16d90')\" />\n        <title />\n        <updated>2020-04-09T11:21:02Z</updated>\n        <author>\n            <name />\n        </author>\n        <content type=\"application/xml\">\n            <m:properties>\n                <d:Name>Mary King</d:Name>\n                <d:FullJobTitle>Customer manager</d:FullJobTitle>\n            </m:properties>\n        </content>\n    </entry>\n    <entry>\n        <id>https://myserver.com/0/ServiceModel/EntityDataService.svc/EmployeeCollection(guid'f11df686-a557-4790-99e5-36ec8dcd2f00')</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'f11df686-a557-4790-99e5-36ec8dcd2f00')\" />\n        <title />\n        <updated>2020-04-09T11:21:02Z</updated>\n        <author>\n            <name />\n        </author>\n        <content type=\"application/xml\">\n            <m:properties>\n                <d:Name>Sarah M. Richards</d:Name>\n                <d:FullJobTitle>Head of accounting department</d:FullJobTitle>\n            </m:properties>\n        </content>\n    </entry>\n    <entry>\n        <id>https://myserver.com/0/ServiceModel/EntityDataService.svc/EmployeeCollection(guid'82c5f81c-4018-44f1-8dcb-738704fd21c4')</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'82c5f81c-4018-44f1-8dcb-738704fd21c4')\" />\n        <title />\n        <updated>2020-04-09T11:21:02Z</updated>\n        <author>\n            <name />\n        </author>\n        <content type=\"application/xml\">\n            <m:properties>\n                <d:Name>Valerie E. Murphy</d:Name>\n                <d:FullJobTitle>Head of marketing department</d:FullJobTitle>\n            </m:properties>\n        </content>\n    </entry>\n    <entry>\n        <id>https://myserver.com/0/ServiceModel/EntityDataService.svc/EmployeeCollection(guid'a98e1131-2852-4191-b7be-77e267aa075a')</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'a98e1131-2852-4191-b7be-77e267aa075a')\" />\n        <title />\n        <updated>2020-04-09T11:21:02Z</updated>\n        <author>\n            <name />\n        </author>\n        <content type=\"application/xml\">\n            <m:properties>\n                <d:Name>Jason Robinson</d:Name>\n                <d:FullJobTitle>Specialist</d:FullJobTitle>\n            </m:properties>\n        </content>\n    </entry>\n    <entry>\n        <id>https://myserver.com/0/ServiceModel/EntityDataService.svc/EmployeeCollection(guid'3b952b60-2502-4ab2-a967-7f898f8b8b55')</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'3b952b60-2502-4ab2-a967-7f898f8b8b55')\" />\n        <title />\n        <updated>2020-04-09T11:21:02Z</updated>\n        <author>\n            <name />\n        </author>\n        <content type=\"application/xml\">\n            <m:properties>\n                <d:Name>Megan Lewis</d:Name>\n                <d:FullJobTitle>Customer manager</d:FullJobTitle>\n            </m:properties>\n        </content>\n    </entry>\n    <entry>\n        <id>https://myserver.com/0/ServiceModel/EntityDataService.svc/EmployeeCollection(guid'3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb')</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'3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb')\" />\n        <title />\n        <updated>2020-04-09T11:21:02Z</updated>\n        <author>\n            <name />\n        </author>\n        <content type=\"application/xml\">\n            <m:properties>\n                <d:Name>Peter Moore</d:Name>\n                <d:FullJobTitle>Head of development department</d:FullJobTitle>\n            </m:properties>\n        </content>\n    </entry>\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        <title />\n        <updated>2020-04-09T11:21:02Z</updated>\n        <author>\n            <name />\n        </author>\n        <content type=\"application/xml\">\n            <m:properties>\n                <d:Name>Caleb Jones</d:Name>\n                <d:FullJobTitle>CEO</d:FullJobTitle>\n            </m:properties>\n        </content>\n    </entry>\n    <entry>\n        <id>https://myserver.com/0/ServiceModel/EntityDataService.svc/EmployeeCollection(guid'e17c9cd6-262d-481d-86a9-f09a82984e0e')</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'e17c9cd6-262d-481d-86a9-f09a82984e0e')\" />\n        <title />\n        <updated>2020-04-09T11:21:02Z</updated>\n        <author>\n            <name />\n        </author>\n        <content type=\"application/xml\">\n            <m:properties>\n                <d:Name>John Best</d:Name>\n                <d:FullJobTitle>Head of sales department</d:FullJobTitle>\n            </m:properties>\n        </content>\n    </entry>\n    <entry>\n        <id>https://myserver.com/0/ServiceModel/EntityDataService.svc/EmployeeCollection(guid'3eff8e22-8690-4bd7-b4c4-f3e1c8174410')</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'3eff8e22-8690-4bd7-b4c4-f3e1c8174410')\" />\n        <title />\n        <updated>2020-04-09T11:21:02Z</updated>\n        <author>\n            <name />\n        </author>\n        <content type=\"application/xml\">\n            <m:properties>\n                <d:Name>Tiffany J. Martin</d:Name>\n                <d:FullJobTitle>IT Support Engineer</d:FullJobTitle>\n            </m:properties>\n        </content>\n    </entry>\n    <entry>\n        <id>https://myserver.com/0/ServiceModel/EntityDataService.svc/EmployeeCollection(guid'cff2b81f-6f47-429a-acf8-fb751bd4575e')</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'cff2b81f-6f47-429a-acf8-fb751bd4575e')\" />\n        <title />\n        <updated>2020-04-09T11:21:02Z</updated>\n        <author>\n            <name />\n        </author>\n        <content type=\"application/xml\">\n            <m:properties>\n                <d:Name>Tracy Wilkinson</d:Name>\n                <d:FullJobTitle>Marketing manager</d:FullJobTitle>\n            </m:properties>\n        </content>\n    </entry>\n</feed>"
    }
  ]
}