Chilkat Online Tools

PureBasic / Creatio API / $select parameter

Back to Collection Items

IncludeFile "CkJsonObject.pb"
IncludeFile "CkStringBuilder.pb"
IncludeFile "CkHttp.pb"
IncludeFile "CkHttpResponse.pb"
IncludeFile "CkXml.pb"

Procedure ChilkatExample()

    ; This example assumes the Chilkat API to have been previously unlocked.
    ; See Global Unlock Sample for sample code.

    http.i = CkHttp::ckCreate()
    If http.i = 0
        Debug "Failed to create object."
        ProcedureReturn
    EndIf

    success.i

    queryParams.i = CkJsonObject::ckCreate()
    If queryParams.i = 0
        Debug "Failed to create object."
        ProcedureReturn
    EndIf

    CkJsonObject::ckUpdateString(queryParams,"$select","Field1,Field2")

    CkHttp::ckSetRequestHeader(http,"ForceUseSession","true")
    CkHttp::ckSetRequestHeader(http,"BPMCSRF","{{BPMCSRF}}")

    resp.i = CkHttp::ckQuickRequestParams(http,"GET","https://myserver.com/0/ServiceModel/EntityDataService.svc/Collection1Collection",queryParams)
    If CkHttp::ckLastMethodSuccess(http) = 0
        Debug CkHttp::ckLastErrorText(http)
        CkHttp::ckDispose(http)
        CkJsonObject::ckDispose(queryParams)
        ProcedureReturn
    EndIf

    sbResponseBody.i = CkStringBuilder::ckCreate()
    If sbResponseBody.i = 0
        Debug "Failed to create object."
        ProcedureReturn
    EndIf

    CkHttpResponse::ckGetBodySb(resp,sbResponseBody)
    CkHttpResponse::ckDispose(resp)

    xmlResponse.i = CkXml::ckCreate()
    If xmlResponse.i = 0
        Debug "Failed to create object."
        ProcedureReturn
    EndIf

    CkXml::ckLoadSb(xmlResponse,sbResponseBody,1)
    Debug CkXml::ckGetXml(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: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

    category_term.s
    category_scheme.s
    content_type.s
    d_Name.s
    d_FullJobTitle.s

    feed_xml_base.s = CkXml::ckGetAttrValue(xmlResponse,"xml:base")
    feed_xmlns.s = CkXml::ckGetAttrValue(xmlResponse,"xmlns")
    feed_xmlns_d.s = CkXml::ckGetAttrValue(xmlResponse,"xmlns:d")
    feed_xmlns_m.s = CkXml::ckGetAttrValue(xmlResponse,"xmlns:m")
    id.s = CkXml::ckGetChildContent(xmlResponse,"id")
    title_type.s = CkXml::ckChilkatPath(xmlResponse,"title|(type)")
    title.s = CkXml::ckGetChildContent(xmlResponse,"title")
    updated.s = CkXml::ckGetChildContent(xmlResponse,"updated")
    link_rel.s = CkXml::ckChilkatPath(xmlResponse,"link|(rel)")
    link_title.s = CkXml::ckChilkatPath(xmlResponse,"link|(title)")
    link_href.s = CkXml::ckChilkatPath(xmlResponse,"link|(href)")
    i.i = 0
    count_i.i = CkXml::ckNumChildrenHavingTag(xmlResponse,"entry")
    While i < count_i
        CkXml::setCkI(xmlResponse, i)
        id = CkXml::ckGetChildContent(xmlResponse,"entry[i]|id")
        category_term = CkXml::ckChilkatPath(xmlResponse,"entry[i]|category|(term)")
        category_scheme = CkXml::ckChilkatPath(xmlResponse,"entry[i]|category|(scheme)")
        link_rel = CkXml::ckChilkatPath(xmlResponse,"entry[i]|link|(rel)")
        link_title = CkXml::ckChilkatPath(xmlResponse,"entry[i]|link|(title)")
        link_href = CkXml::ckChilkatPath(xmlResponse,"entry[i]|link|(href)")
        updated = CkXml::ckGetChildContent(xmlResponse,"entry[i]|updated")
        content_type = CkXml::ckChilkatPath(xmlResponse,"entry[i]|content|(type)")
        d_Name = CkXml::ckGetChildContent(xmlResponse,"entry[i]|content|m:properties|d:Name")
        d_FullJobTitle = CkXml::ckGetChildContent(xmlResponse,"entry[i]|content|m:properties|d:FullJobTitle")
        i = i + 1
    Wend


    CkHttp::ckDispose(http)
    CkJsonObject::ckDispose(queryParams)
    CkStringBuilder::ckDispose(sbResponseBody)
    CkXml::ckDispose(xmlResponse)


    ProcedureReturn
EndProcedure

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>"
    }
  ]
}