Chilkat Online Tools

SQL Server / Creatio API / $select parameter

Back to Collection Items

-- Important: See this note about string length limitations for strings returned by sp_OAMethod calls.
--
CREATE PROCEDURE ChilkatSample
AS
BEGIN
    DECLARE @hr int
    DECLARE @iTmp0 int
    -- Important: Do not use nvarchar(max).  See the warning about using nvarchar(max).
    DECLARE @sTmp0 nvarchar(4000)
    -- This example assumes the Chilkat API to have been previously unlocked.
    -- See Global Unlock Sample for sample code.

    DECLARE @http int
    EXEC @hr = sp_OACreate 'Chilkat_9_5_0.Http', @http OUT
    IF @hr <> 0
    BEGIN
        PRINT 'Failed to create ActiveX component'
        RETURN
    END

    DECLARE @success int

    DECLARE @queryParams int
    EXEC @hr = sp_OACreate 'Chilkat_9_5_0.JsonObject', @queryParams OUT

    EXEC sp_OAMethod @queryParams, 'UpdateString', @success OUT, '$select', 'Field1,Field2'

    EXEC sp_OAMethod @http, 'SetRequestHeader', NULL, 'ForceUseSession', 'true'
    EXEC sp_OAMethod @http, 'SetRequestHeader', NULL, 'BPMCSRF', '{{BPMCSRF}}'

    DECLARE @resp int
    EXEC sp_OAMethod @http, 'QuickRequestParams', @resp OUT, 'GET', 'https://myserver.com/0/ServiceModel/EntityDataService.svc/Collection1Collection', @queryParams
    EXEC sp_OAGetProperty @http, 'LastMethodSuccess', @iTmp0 OUT
    IF @iTmp0 = 0
      BEGIN
        EXEC sp_OAGetProperty @http, 'LastErrorText', @sTmp0 OUT
        PRINT @sTmp0
        EXEC @hr = sp_OADestroy @http
        EXEC @hr = sp_OADestroy @queryParams
        RETURN
      END

    DECLARE @sbResponseBody int
    EXEC @hr = sp_OACreate 'Chilkat_9_5_0.StringBuilder', @sbResponseBody OUT

    EXEC sp_OAMethod @resp, 'GetBodySb', @success OUT, @sbResponseBody
    EXEC @hr = sp_OADestroy @resp

    DECLARE @xmlResponse int
    EXEC @hr = sp_OACreate 'Chilkat_9_5_0.Xml', @xmlResponse OUT

    EXEC sp_OAMethod @xmlResponse, 'LoadSb', @success OUT, @sbResponseBody, 1
    EXEC sp_OAMethod @xmlResponse, 'GetXml', @sTmp0 OUT
    PRINT @sTmp0

    -- 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

    DECLARE @category_term nvarchar(4000)

    DECLARE @category_scheme nvarchar(4000)

    DECLARE @content_type nvarchar(4000)

    DECLARE @d_Name nvarchar(4000)

    DECLARE @d_FullJobTitle nvarchar(4000)

    DECLARE @feed_xml_base nvarchar(4000)
    EXEC sp_OAMethod @xmlResponse, 'GetAttrValue', @feed_xml_base OUT, 'xml:base'
    DECLARE @feed_xmlns nvarchar(4000)
    EXEC sp_OAMethod @xmlResponse, 'GetAttrValue', @feed_xmlns OUT, 'xmlns'
    DECLARE @feed_xmlns_d nvarchar(4000)
    EXEC sp_OAMethod @xmlResponse, 'GetAttrValue', @feed_xmlns_d OUT, 'xmlns:d'
    DECLARE @feed_xmlns_m nvarchar(4000)
    EXEC sp_OAMethod @xmlResponse, 'GetAttrValue', @feed_xmlns_m OUT, 'xmlns:m'
    DECLARE @id nvarchar(4000)
    EXEC sp_OAMethod @xmlResponse, 'GetChildContent', @id OUT, 'id'
    DECLARE @title_type nvarchar(4000)
    EXEC sp_OAMethod @xmlResponse, 'ChilkatPath', @title_type OUT, 'title|(type)'
    DECLARE @title nvarchar(4000)
    EXEC sp_OAMethod @xmlResponse, 'GetChildContent', @title OUT, 'title'
    DECLARE @updated nvarchar(4000)
    EXEC sp_OAMethod @xmlResponse, 'GetChildContent', @updated OUT, 'updated'
    DECLARE @link_rel nvarchar(4000)
    EXEC sp_OAMethod @xmlResponse, 'ChilkatPath', @link_rel OUT, 'link|(rel)'
    DECLARE @link_title nvarchar(4000)
    EXEC sp_OAMethod @xmlResponse, 'ChilkatPath', @link_title OUT, 'link|(title)'
    DECLARE @link_href nvarchar(4000)
    EXEC sp_OAMethod @xmlResponse, 'ChilkatPath', @link_href OUT, 'link|(href)'
    DECLARE @i int
    SELECT @i = 0
    DECLARE @count_i int
    EXEC sp_OAMethod @xmlResponse, 'NumChildrenHavingTag', @count_i OUT, 'entry'
    WHILE @i < @count_i
      BEGIN
        EXEC sp_OASetProperty @xmlResponse, 'I', @i
        EXEC sp_OAMethod @xmlResponse, 'GetChildContent', @id OUT, 'entry[i]|id'
        EXEC sp_OAMethod @xmlResponse, 'ChilkatPath', @category_term OUT, 'entry[i]|category|(term)'
        EXEC sp_OAMethod @xmlResponse, 'ChilkatPath', @category_scheme OUT, 'entry[i]|category|(scheme)'
        EXEC sp_OAMethod @xmlResponse, 'ChilkatPath', @link_rel OUT, 'entry[i]|link|(rel)'
        EXEC sp_OAMethod @xmlResponse, 'ChilkatPath', @link_title OUT, 'entry[i]|link|(title)'
        EXEC sp_OAMethod @xmlResponse, 'ChilkatPath', @link_href OUT, 'entry[i]|link|(href)'
        EXEC sp_OAMethod @xmlResponse, 'GetChildContent', @updated OUT, 'entry[i]|updated'
        EXEC sp_OAMethod @xmlResponse, 'ChilkatPath', @content_type OUT, 'entry[i]|content|(type)'
        EXEC sp_OAMethod @xmlResponse, 'GetChildContent', @d_Name OUT, 'entry[i]|content|m:properties|d:Name'
        EXEC sp_OAMethod @xmlResponse, 'GetChildContent', @d_FullJobTitle OUT, 'entry[i]|content|m:properties|d:FullJobTitle'
        SELECT @i = @i + 1
      END

    EXEC @hr = sp_OADestroy @http
    EXEC @hr = sp_OADestroy @queryParams
    EXEC @hr = sp_OADestroy @sbResponseBody
    EXEC @hr = sp_OADestroy @xmlResponse


END
GO

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