SQL Server / Creatio API / $filter parameter with endswith function
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
-- Use "Chilkat_9_5_0.Http" for versions of Chilkat < 10.0.0
EXEC @hr = sp_OACreate 'Chilkat.Http', @http OUT
IF @hr <> 0
BEGIN
PRINT 'Failed to create ActiveX component'
RETURN
END
DECLARE @success int
DECLARE @queryParams int
-- Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
EXEC @hr = sp_OACreate 'Chilkat.JsonObject', @queryParams OUT
EXEC sp_OAMethod @queryParams, 'UpdateString', @success OUT, '$filter', 'endswith(Field2,''Field2Value'')'
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
-- Use "Chilkat_9_5_0.StringBuilder" for versions of Chilkat < 10.0.0
EXEC @hr = sp_OACreate 'Chilkat.StringBuilder', @sbResponseBody OUT
EXEC sp_OAMethod @resp, 'GetBodySb', @success OUT, @sbResponseBody
EXEC @hr = sp_OADestroy @resp
DECLARE @xmlResponse int
-- Use "Chilkat_9_5_0.Xml" for versions of Chilkat < 10.0.0
EXEC @hr = sp_OACreate 'Chilkat.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:25:38Z</updated>
-- <link rel="self" title="EmployeeCollection" href="EmployeeCollection"/>
-- <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')"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/CreatedBy" type="application/atom+xml;type=entry" title="CreatedBy" href="EmployeeCollection(guid'0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755')/CreatedBy"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ModifiedBy" type="application/atom+xml;type=entry" title="ModifiedBy" href="EmployeeCollection(guid'0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755')/ModifiedBy"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Contact" type="application/atom+xml;type=entry" title="Contact" href="EmployeeCollection(guid'0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755')/Contact"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/OrgStructureUnitCollectionByHead" type="application/atom+xml;type=feed" title="OrgStructureUnitCollectionByHead" href="EmployeeCollection(guid'0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755')/OrgStructureUnitCollectionByHead"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/OrgStructureUnit" type="application/atom+xml;type=entry" title="OrgStructureUnit" href="EmployeeCollection(guid'0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755')/OrgStructureUnit"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Job" type="application/atom+xml;type=entry" title="Job" href="EmployeeCollection(guid'0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755')/Job"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Owner" type="application/atom+xml;type=entry" title="Owner" href="EmployeeCollection(guid'0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755')/Owner"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ReasonForDismissal" type="application/atom+xml;type=entry" title="ReasonForDismissal" href="EmployeeCollection(guid'0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755')/ReasonForDismissal"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Account" type="application/atom+xml;type=entry" title="Account" href="EmployeeCollection(guid'0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755')/Account"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Manager" type="application/atom+xml;type=entry" title="Manager" href="EmployeeCollection(guid'0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755')/Manager"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeCollectionByManager" type="application/atom+xml;type=feed" title="EmployeeCollectionByManager" href="EmployeeCollection(guid'0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755')/EmployeeCollectionByManager"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeCareerCollectionByEmployee" type="application/atom+xml;type=feed" title="EmployeeCareerCollectionByEmployee" href="EmployeeCollection(guid'0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755')/EmployeeCareerCollectionByEmployee"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeFileCollectionByEmployee" type="application/atom+xml;type=feed" title="EmployeeFileCollectionByEmployee" href="EmployeeCollection(guid'0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755')/EmployeeFileCollectionByEmployee"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeInFolderCollectionByEmployee" type="application/atom+xml;type=feed" title="EmployeeInFolderCollectionByEmployee" href="EmployeeCollection(guid'0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755')/EmployeeInFolderCollectionByEmployee"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeInTagCollectionByEntity" type="application/atom+xml;type=feed" title="EmployeeInTagCollectionByEntity" href="EmployeeCollection(guid'0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755')/EmployeeInTagCollectionByEntity"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/SalaryCollectionByEmployee" type="application/atom+xml;type=feed" title="SalaryCollectionByEmployee" href="EmployeeCollection(guid'0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755')/SalaryCollectionByEmployee"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/VwEmployeesHierarchyCollectionByEmployee" type="application/atom+xml;type=feed" title="VwEmployeesHierarchyCollectionByEmployee" href="EmployeeCollection(guid'0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755')/VwEmployeesHierarchyCollectionByEmployee"/>
-- <title/>
-- <updated>2020-04-09T11:25:38Z</updated>
-- <author>
-- <name/>
-- </author>
-- <content type="application/xml">
-- <m:properties>
-- <d:Id m:type="Edm.Guid">0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755</d:Id>
-- <d:Name>Symon Clarke</d:Name>
-- <d:CreatedOn m:type="Edm.DateTime">2017-03-30T14:47:15Z</d:CreatedOn>
-- <d:CreatedById m:type="Edm.Guid">76929f8c-7e15-4c64-bdb0-adc62d383727</d:CreatedById>
-- <d:ModifiedOn m:type="Edm.DateTime">2017-03-31T07:41:38Z</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">00e63875-323c-41a9-a795-e532e98d1563</d:ContactId>
-- <d:OrgStructureUnitId m:type="Edm.Guid">ef696860-5b18-42cc-ae96-5fcb927b370a</d:OrgStructureUnitId>
-- <d:Notes/>
-- <d:JobId m:type="Edm.Guid">33f48df9-56e6-df11-971b-001d60e938c6</d:JobId>
-- <d:FullJobTitle>Marketing manager</d:FullJobTitle>
-- <d:OwnerId m:type="Edm.Guid">76929f8c-7e15-4c64-bdb0-adc62d383727</d:OwnerId>
-- <d:CareerStartDate m:type="Edm.DateTime">2019-07-14T00: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">82c5f81c-4018-44f1-8dcb-738704fd21c4</d:ManagerId>
-- </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')"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/CreatedBy" type="application/atom+xml;type=entry" title="CreatedBy" href="EmployeeCollection(guid'9842387d-069f-466c-9551-32cedbc16d90')/CreatedBy"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ModifiedBy" type="application/atom+xml;type=entry" title="ModifiedBy" href="EmployeeCollection(guid'9842387d-069f-466c-9551-32cedbc16d90')/ModifiedBy"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Contact" type="application/atom+xml;type=entry" title="Contact" href="EmployeeCollection(guid'9842387d-069f-466c-9551-32cedbc16d90')/Contact"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/OrgStructureUnitCollectionByHead" type="application/atom+xml;type=feed" title="OrgStructureUnitCollectionByHead" href="EmployeeCollection(guid'9842387d-069f-466c-9551-32cedbc16d90')/OrgStructureUnitCollectionByHead"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/OrgStructureUnit" type="application/atom+xml;type=entry" title="OrgStructureUnit" href="EmployeeCollection(guid'9842387d-069f-466c-9551-32cedbc16d90')/OrgStructureUnit"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Job" type="application/atom+xml;type=entry" title="Job" href="EmployeeCollection(guid'9842387d-069f-466c-9551-32cedbc16d90')/Job"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Owner" type="application/atom+xml;type=entry" title="Owner" href="EmployeeCollection(guid'9842387d-069f-466c-9551-32cedbc16d90')/Owner"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ReasonForDismissal" type="application/atom+xml;type=entry" title="ReasonForDismissal" href="EmployeeCollection(guid'9842387d-069f-466c-9551-32cedbc16d90')/ReasonForDismissal"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Account" type="application/atom+xml;type=entry" title="Account" href="EmployeeCollection(guid'9842387d-069f-466c-9551-32cedbc16d90')/Account"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Manager" type="application/atom+xml;type=entry" title="Manager" href="EmployeeCollection(guid'9842387d-069f-466c-9551-32cedbc16d90')/Manager"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeCollectionByManager" type="application/atom+xml;type=feed" title="EmployeeCollectionByManager" href="EmployeeCollection(guid'9842387d-069f-466c-9551-32cedbc16d90')/EmployeeCollectionByManager"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeCareerCollectionByEmployee" type="application/atom+xml;type=feed" title="EmployeeCareerCollectionByEmployee" href="EmployeeCollection(guid'9842387d-069f-466c-9551-32cedbc16d90')/EmployeeCareerCollectionByEmployee"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeFileCollectionByEmployee" type="application/atom+xml;type=feed" title="EmployeeFileCollectionByEmployee" href="EmployeeCollection(guid'9842387d-069f-466c-9551-32cedbc16d90')/EmployeeFileCollectionByEmployee"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeInFolderCollectionByEmployee" type="application/atom+xml;type=feed" title="EmployeeInFolderCollectionByEmployee" href="EmployeeCollection(guid'9842387d-069f-466c-9551-32cedbc16d90')/EmployeeInFolderCollectionByEmployee"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeInTagCollectionByEntity" type="application/atom+xml;type=feed" title="EmployeeInTagCollectionByEntity" href="EmployeeCollection(guid'9842387d-069f-466c-9551-32cedbc16d90')/EmployeeInTagCollectionByEntity"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/SalaryCollectionByEmployee" type="application/atom+xml;type=feed" title="SalaryCollectionByEmployee" href="EmployeeCollection(guid'9842387d-069f-466c-9551-32cedbc16d90')/SalaryCollectionByEmployee"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/VwEmployeesHierarchyCollectionByEmployee" type="application/atom+xml;type=feed" title="VwEmployeesHierarchyCollectionByEmployee" href="EmployeeCollection(guid'9842387d-069f-466c-9551-32cedbc16d90')/VwEmployeesHierarchyCollectionByEmployee"/>
-- <title/>
-- <updated>2020-04-09T11:25:38Z</updated>
-- <author>
-- <name/>
-- </author>
-- <content type="application/xml">
-- <m:properties>
-- <d:Id m:type="Edm.Guid">9842387d-069f-466c-9551-32cedbc16d90</d:Id>
-- <d:Name>Mary King</d:Name>
-- <d:CreatedOn m:type="Edm.DateTime">2017-03-30T14:50:30Z</d:CreatedOn>
-- <d:CreatedById m:type="Edm.Guid">76929f8c-7e15-4c64-bdb0-adc62d383727</d:CreatedById>
-- <d:ModifiedOn m:type="Edm.DateTime">2017-03-31T07:27:18Z</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">cad50d15-f28d-49fc-aa79-21615ac35b86</d:ContactId>
-- <d:OrgStructureUnitId m:type="Edm.Guid">43172897-fbd6-4bc1-b81b-55964ab558e6</d:OrgStructureUnitId>
-- <d:Notes/>
-- <d:JobId m:type="Edm.Guid">955472f0-56e6-df11-971b-001d60e938c6</d:JobId>
-- <d:FullJobTitle>Customer manager</d:FullJobTitle>
-- <d:OwnerId m:type="Edm.Guid">76929f8c-7e15-4c64-bdb0-adc62d383727</d:OwnerId>
-- <d:CareerStartDate m:type="Edm.DateTime">2019-04-07T00: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">e17c9cd6-262d-481d-86a9-f09a82984e0e</d:ManagerId>
-- </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')"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/CreatedBy" type="application/atom+xml;type=entry" title="CreatedBy" href="EmployeeCollection(guid'3b952b60-2502-4ab2-a967-7f898f8b8b55')/CreatedBy"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ModifiedBy" type="application/atom+xml;type=entry" title="ModifiedBy" href="EmployeeCollection(guid'3b952b60-2502-4ab2-a967-7f898f8b8b55')/ModifiedBy"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Contact" type="application/atom+xml;type=entry" title="Contact" href="EmployeeCollection(guid'3b952b60-2502-4ab2-a967-7f898f8b8b55')/Contact"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/OrgStructureUnitCollectionByHead" type="application/atom+xml;type=feed" title="OrgStructureUnitCollectionByHead" href="EmployeeCollection(guid'3b952b60-2502-4ab2-a967-7f898f8b8b55')/OrgStructureUnitCollectionByHead"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/OrgStructureUnit" type="application/atom+xml;type=entry" title="OrgStructureUnit" href="EmployeeCollection(guid'3b952b60-2502-4ab2-a967-7f898f8b8b55')/OrgStructureUnit"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Job" type="application/atom+xml;type=entry" title="Job" href="EmployeeCollection(guid'3b952b60-2502-4ab2-a967-7f898f8b8b55')/Job"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Owner" type="application/atom+xml;type=entry" title="Owner" href="EmployeeCollection(guid'3b952b60-2502-4ab2-a967-7f898f8b8b55')/Owner"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ReasonForDismissal" type="application/atom+xml;type=entry" title="ReasonForDismissal" href="EmployeeCollection(guid'3b952b60-2502-4ab2-a967-7f898f8b8b55')/ReasonForDismissal"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Account" type="application/atom+xml;type=entry" title="Account" href="EmployeeCollection(guid'3b952b60-2502-4ab2-a967-7f898f8b8b55')/Account"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Manager" type="application/atom+xml;type=entry" title="Manager" href="EmployeeCollection(guid'3b952b60-2502-4ab2-a967-7f898f8b8b55')/Manager"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeCollectionByManager" type="application/atom+xml;type=feed" title="EmployeeCollectionByManager" href="EmployeeCollection(guid'3b952b60-2502-4ab2-a967-7f898f8b8b55')/EmployeeCollectionByManager"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeCareerCollectionByEmployee" type="application/atom+xml;type=feed" title="EmployeeCareerCollectionByEmployee" href="EmployeeCollection(guid'3b952b60-2502-4ab2-a967-7f898f8b8b55')/EmployeeCareerCollectionByEmployee"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeFileCollectionByEmployee" type="application/atom+xml;type=feed" title="EmployeeFileCollectionByEmployee" href="EmployeeCollection(guid'3b952b60-2502-4ab2-a967-7f898f8b8b55')/EmployeeFileCollectionByEmployee"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeInFolderCollectionByEmployee" type="application/atom+xml;type=feed" title="EmployeeInFolderCollectionByEmployee" href="EmployeeCollection(guid'3b952b60-2502-4ab2-a967-7f898f8b8b55')/EmployeeInFolderCollectionByEmployee"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeInTagCollectionByEntity" type="application/atom+xml;type=feed" title="EmployeeInTagCollectionByEntity" href="EmployeeCollection(guid'3b952b60-2502-4ab2-a967-7f898f8b8b55')/EmployeeInTagCollectionByEntity"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/SalaryCollectionByEmployee" type="application/atom+xml;type=feed" title="SalaryCollectionByEmployee" href="EmployeeCollection(guid'3b952b60-2502-4ab2-a967-7f898f8b8b55')/SalaryCollectionByEmployee"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/VwEmployeesHierarchyCollectionByEmployee" type="application/atom+xml;type=feed" title="VwEmployeesHierarchyCollectionByEmployee" href="EmployeeCollection(guid'3b952b60-2502-4ab2-a967-7f898f8b8b55')/VwEmployeesHierarchyCollectionByEmployee"/>
-- <title/>
-- <updated>2020-04-09T11:25:38Z</updated>
-- <author>
-- <name/>
-- </author>
-- <content type="application/xml">
-- <m:properties>
-- <d:Id m:type="Edm.Guid">3b952b60-2502-4ab2-a967-7f898f8b8b55</d:Id>
-- <d:Name>Megan Lewis</d:Name>
-- <d:CreatedOn m:type="Edm.DateTime">2017-03-30T14:51:27Z</d:CreatedOn>
-- <d:CreatedById m:type="Edm.Guid">76929f8c-7e15-4c64-bdb0-adc62d383727</d:CreatedById>
-- <d:ModifiedOn m:type="Edm.DateTime">2017-03-31T07:30:20Z</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">27bbc601-2d48-4652-8d18-eb93e718a78c</d:ContactId>
-- <d:OrgStructureUnitId m:type="Edm.Guid">43172897-fbd6-4bc1-b81b-55964ab558e6</d:OrgStructureUnitId>
-- <d:Notes/>
-- <d:JobId m:type="Edm.Guid">955472f0-56e6-df11-971b-001d60e938c6</d:JobId>
-- <d:FullJobTitle>Customer manager</d:FullJobTitle>
-- <d:OwnerId m:type="Edm.Guid">76929f8c-7e15-4c64-bdb0-adc62d383727</d:OwnerId>
-- <d:CareerStartDate m:type="Edm.DateTime">2019-11-10T00:00:00</d:CareerStartDate>
-- <d:CareerDueDate m:type="Edm.DateTime">0001-01-01T00:00:00</d:CareerDueDate>
-- <d:ProbationDueDate m:type="Edm.DateTime">2020-02-10T00: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">e17c9cd6-262d-481d-86a9-f09a82984e0e</d:ManagerId>
-- </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')"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/CreatedBy" type="application/atom+xml;type=entry" title="CreatedBy" href="EmployeeCollection(guid'cff2b81f-6f47-429a-acf8-fb751bd4575e')/CreatedBy"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ModifiedBy" type="application/atom+xml;type=entry" title="ModifiedBy" href="EmployeeCollection(guid'cff2b81f-6f47-429a-acf8-fb751bd4575e')/ModifiedBy"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Contact" type="application/atom+xml;type=entry" title="Contact" href="EmployeeCollection(guid'cff2b81f-6f47-429a-acf8-fb751bd4575e')/Contact"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/OrgStructureUnitCollectionByHead" type="application/atom+xml;type=feed" title="OrgStructureUnitCollectionByHead" href="EmployeeCollection(guid'cff2b81f-6f47-429a-acf8-fb751bd4575e')/OrgStructureUnitCollectionByHead"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/OrgStructureUnit" type="application/atom+xml;type=entry" title="OrgStructureUnit" href="EmployeeCollection(guid'cff2b81f-6f47-429a-acf8-fb751bd4575e')/OrgStructureUnit"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Job" type="application/atom+xml;type=entry" title="Job" href="EmployeeCollection(guid'cff2b81f-6f47-429a-acf8-fb751bd4575e')/Job"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Owner" type="application/atom+xml;type=entry" title="Owner" href="EmployeeCollection(guid'cff2b81f-6f47-429a-acf8-fb751bd4575e')/Owner"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ReasonForDismissal" type="application/atom+xml;type=entry" title="ReasonForDismissal" href="EmployeeCollection(guid'cff2b81f-6f47-429a-acf8-fb751bd4575e')/ReasonForDismissal"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Account" type="application/atom+xml;type=entry" title="Account" href="EmployeeCollection(guid'cff2b81f-6f47-429a-acf8-fb751bd4575e')/Account"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Manager" type="application/atom+xml;type=entry" title="Manager" href="EmployeeCollection(guid'cff2b81f-6f47-429a-acf8-fb751bd4575e')/Manager"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeCollectionByManager" type="application/atom+xml;type=feed" title="EmployeeCollectionByManager" href="EmployeeCollection(guid'cff2b81f-6f47-429a-acf8-fb751bd4575e')/EmployeeCollectionByManager"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeCareerCollectionByEmployee" type="application/atom+xml;type=feed" title="EmployeeCareerCollectionByEmployee" href="EmployeeCollection(guid'cff2b81f-6f47-429a-acf8-fb751bd4575e')/EmployeeCareerCollectionByEmployee"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeFileCollectionByEmployee" type="application/atom+xml;type=feed" title="EmployeeFileCollectionByEmployee" href="EmployeeCollection(guid'cff2b81f-6f47-429a-acf8-fb751bd4575e')/EmployeeFileCollectionByEmployee"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeInFolderCollectionByEmployee" type="application/atom+xml;type=feed" title="EmployeeInFolderCollectionByEmployee" href="EmployeeCollection(guid'cff2b81f-6f47-429a-acf8-fb751bd4575e')/EmployeeInFolderCollectionByEmployee"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeInTagCollectionByEntity" type="application/atom+xml;type=feed" title="EmployeeInTagCollectionByEntity" href="EmployeeCollection(guid'cff2b81f-6f47-429a-acf8-fb751bd4575e')/EmployeeInTagCollectionByEntity"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/SalaryCollectionByEmployee" type="application/atom+xml;type=feed" title="SalaryCollectionByEmployee" href="EmployeeCollection(guid'cff2b81f-6f47-429a-acf8-fb751bd4575e')/SalaryCollectionByEmployee"/>
-- <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/VwEmployeesHierarchyCollectionByEmployee" type="application/atom+xml;type=feed" title="VwEmployeesHierarchyCollectionByEmployee" href="EmployeeCollection(guid'cff2b81f-6f47-429a-acf8-fb751bd4575e')/VwEmployeesHierarchyCollectionByEmployee"/>
-- <title/>
-- <updated>2020-04-09T11:25:38Z</updated>
-- <author>
-- <name/>
-- </author>
-- <content type="application/xml">
-- <m:properties>
-- <d:Id m:type="Edm.Guid">cff2b81f-6f47-429a-acf8-fb751bd4575e</d:Id>
-- <d:Name>Tracy Wilkinson</d:Name>
-- <d:CreatedOn m:type="Edm.DateTime">2017-03-30T14:52:50Z</d:CreatedOn>
-- <d:CreatedById m:type="Edm.Guid">76929f8c-7e15-4c64-bdb0-adc62d383727</d:CreatedById>
-- <d:ModifiedOn m:type="Edm.DateTime">2017-03-31T08:24:48Z</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">8b2c9fcc-8187-4197-b5fe-4acf4cc52475</d:ContactId>
-- <d:OrgStructureUnitId m:type="Edm.Guid">ef696860-5b18-42cc-ae96-5fcb927b370a</d:OrgStructureUnitId>
-- <d:Notes/>
-- <d:JobId m:type="Edm.Guid">33f48df9-56e6-df11-971b-001d60e938c6</d:JobId>
-- <d:FullJobTitle>Marketing manager</d:FullJobTitle>
-- <d:OwnerId m:type="Edm.Guid">76929f8c-7e15-4c64-bdb0-adc62d383727</d:OwnerId>
-- <d:CareerStartDate m:type="Edm.DateTime">2015-11-29T00:00:00</d:CareerStartDate>
-- <d:CareerDueDate m:type="Edm.DateTime">2019-07-08T00:00:00</d:CareerDueDate>
-- <d:ProbationDueDate m:type="Edm.DateTime">0001-01-01T00:00:00</d:ProbationDueDate>
-- <d:ReasonForDismissalId m:type="Edm.Guid">f83b228a-f36b-1410-b783-00155d04320c</d:ReasonForDismissalId>
-- <d:AccountId m:type="Edm.Guid">e308b781-3c5b-4ecb-89ef-5c1ed4da488e</d:AccountId>
-- <d:ManagerId m:type="Edm.Guid">82c5f81c-4018-44f1-8dcb-738704fd21c4</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
DECLARE @category_term nvarchar(4000)
DECLARE @category_scheme nvarchar(4000)
DECLARE @j int
DECLARE @count_j int
DECLARE @link_type nvarchar(4000)
DECLARE @content_type nvarchar(4000)
DECLARE @d_Id_m_type nvarchar(4000)
DECLARE @d_Id nvarchar(4000)
DECLARE @d_Name nvarchar(4000)
DECLARE @d_CreatedOn_m_type nvarchar(4000)
DECLARE @d_CreatedOn nvarchar(4000)
DECLARE @d_CreatedById_m_type nvarchar(4000)
DECLARE @d_CreatedById nvarchar(4000)
DECLARE @d_ModifiedOn_m_type nvarchar(4000)
DECLARE @d_ModifiedOn nvarchar(4000)
DECLARE @d_ModifiedById_m_type nvarchar(4000)
DECLARE @d_ModifiedById nvarchar(4000)
DECLARE @d_ProcessListeners_m_type nvarchar(4000)
DECLARE @d_ProcessListeners int
DECLARE @d_ContactId_m_type nvarchar(4000)
DECLARE @d_ContactId nvarchar(4000)
DECLARE @d_OrgStructureUnitId_m_type nvarchar(4000)
DECLARE @d_OrgStructureUnitId nvarchar(4000)
DECLARE @d_JobId_m_type nvarchar(4000)
DECLARE @d_JobId nvarchar(4000)
DECLARE @d_FullJobTitle nvarchar(4000)
DECLARE @d_OwnerId_m_type nvarchar(4000)
DECLARE @d_OwnerId nvarchar(4000)
DECLARE @d_CareerStartDate_m_type nvarchar(4000)
DECLARE @d_CareerStartDate nvarchar(4000)
DECLARE @d_CareerDueDate_m_type nvarchar(4000)
DECLARE @d_CareerDueDate nvarchar(4000)
DECLARE @d_ProbationDueDate_m_type nvarchar(4000)
DECLARE @d_ProbationDueDate nvarchar(4000)
DECLARE @d_ReasonForDismissalId_m_type nvarchar(4000)
DECLARE @d_ReasonForDismissalId nvarchar(4000)
DECLARE @d_AccountId_m_type nvarchar(4000)
DECLARE @d_AccountId nvarchar(4000)
DECLARE @d_ManagerId_m_type nvarchar(4000)
DECLARE @d_ManagerId 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)'
SELECT @j = 0
EXEC sp_OAMethod @xmlResponse, 'NumChildrenHavingTag', @count_j OUT, 'entry[i]|link'
WHILE @j < @count_j
BEGIN
EXEC sp_OASetProperty @xmlResponse, 'J', @j
EXEC sp_OAMethod @xmlResponse, 'ChilkatPath', @link_rel OUT, 'entry[i]|link[j]|(rel)'
EXEC sp_OAMethod @xmlResponse, 'ChilkatPath', @link_title OUT, 'entry[i]|link[j]|(title)'
EXEC sp_OAMethod @xmlResponse, 'ChilkatPath', @link_href OUT, 'entry[i]|link[j]|(href)'
EXEC sp_OAMethod @xmlResponse, 'ChilkatPath', @link_type OUT, 'entry[i]|link[j]|(type)'
SELECT @j = @j + 1
END
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, 'ChilkatPath', @d_Id_m_type OUT, 'entry[i]|content|m:properties|d:Id|(m:type)'
EXEC sp_OAMethod @xmlResponse, 'GetChildContent', @d_Id OUT, 'entry[i]|content|m:properties|d:Id'
EXEC sp_OAMethod @xmlResponse, 'GetChildContent', @d_Name OUT, 'entry[i]|content|m:properties|d:Name'
EXEC sp_OAMethod @xmlResponse, 'ChilkatPath', @d_CreatedOn_m_type OUT, 'entry[i]|content|m:properties|d:CreatedOn|(m:type)'
EXEC sp_OAMethod @xmlResponse, 'GetChildContent', @d_CreatedOn OUT, 'entry[i]|content|m:properties|d:CreatedOn'
EXEC sp_OAMethod @xmlResponse, 'ChilkatPath', @d_CreatedById_m_type OUT, 'entry[i]|content|m:properties|d:CreatedById|(m:type)'
EXEC sp_OAMethod @xmlResponse, 'GetChildContent', @d_CreatedById OUT, 'entry[i]|content|m:properties|d:CreatedById'
EXEC sp_OAMethod @xmlResponse, 'ChilkatPath', @d_ModifiedOn_m_type OUT, 'entry[i]|content|m:properties|d:ModifiedOn|(m:type)'
EXEC sp_OAMethod @xmlResponse, 'GetChildContent', @d_ModifiedOn OUT, 'entry[i]|content|m:properties|d:ModifiedOn'
EXEC sp_OAMethod @xmlResponse, 'ChilkatPath', @d_ModifiedById_m_type OUT, 'entry[i]|content|m:properties|d:ModifiedById|(m:type)'
EXEC sp_OAMethod @xmlResponse, 'GetChildContent', @d_ModifiedById OUT, 'entry[i]|content|m:properties|d:ModifiedById'
EXEC sp_OAMethod @xmlResponse, 'ChilkatPath', @d_ProcessListeners_m_type OUT, 'entry[i]|content|m:properties|d:ProcessListeners|(m:type)'
EXEC sp_OAMethod @xmlResponse, 'GetChildIntValue', @d_ProcessListeners OUT, 'entry[i]|content|m:properties|d:ProcessListeners'
EXEC sp_OAMethod @xmlResponse, 'ChilkatPath', @d_ContactId_m_type OUT, 'entry[i]|content|m:properties|d:ContactId|(m:type)'
EXEC sp_OAMethod @xmlResponse, 'GetChildContent', @d_ContactId OUT, 'entry[i]|content|m:properties|d:ContactId'
EXEC sp_OAMethod @xmlResponse, 'ChilkatPath', @d_OrgStructureUnitId_m_type OUT, 'entry[i]|content|m:properties|d:OrgStructureUnitId|(m:type)'
EXEC sp_OAMethod @xmlResponse, 'GetChildContent', @d_OrgStructureUnitId OUT, 'entry[i]|content|m:properties|d:OrgStructureUnitId'
EXEC sp_OAMethod @xmlResponse, 'ChilkatPath', @d_JobId_m_type OUT, 'entry[i]|content|m:properties|d:JobId|(m:type)'
EXEC sp_OAMethod @xmlResponse, 'GetChildContent', @d_JobId OUT, 'entry[i]|content|m:properties|d:JobId'
EXEC sp_OAMethod @xmlResponse, 'GetChildContent', @d_FullJobTitle OUT, 'entry[i]|content|m:properties|d:FullJobTitle'
EXEC sp_OAMethod @xmlResponse, 'ChilkatPath', @d_OwnerId_m_type OUT, 'entry[i]|content|m:properties|d:OwnerId|(m:type)'
EXEC sp_OAMethod @xmlResponse, 'GetChildContent', @d_OwnerId OUT, 'entry[i]|content|m:properties|d:OwnerId'
EXEC sp_OAMethod @xmlResponse, 'ChilkatPath', @d_CareerStartDate_m_type OUT, 'entry[i]|content|m:properties|d:CareerStartDate|(m:type)'
EXEC sp_OAMethod @xmlResponse, 'GetChildContent', @d_CareerStartDate OUT, 'entry[i]|content|m:properties|d:CareerStartDate'
EXEC sp_OAMethod @xmlResponse, 'ChilkatPath', @d_CareerDueDate_m_type OUT, 'entry[i]|content|m:properties|d:CareerDueDate|(m:type)'
EXEC sp_OAMethod @xmlResponse, 'GetChildContent', @d_CareerDueDate OUT, 'entry[i]|content|m:properties|d:CareerDueDate'
EXEC sp_OAMethod @xmlResponse, 'ChilkatPath', @d_ProbationDueDate_m_type OUT, 'entry[i]|content|m:properties|d:ProbationDueDate|(m:type)'
EXEC sp_OAMethod @xmlResponse, 'GetChildContent', @d_ProbationDueDate OUT, 'entry[i]|content|m:properties|d:ProbationDueDate'
EXEC sp_OAMethod @xmlResponse, 'ChilkatPath', @d_ReasonForDismissalId_m_type OUT, 'entry[i]|content|m:properties|d:ReasonForDismissalId|(m:type)'
EXEC sp_OAMethod @xmlResponse, 'GetChildContent', @d_ReasonForDismissalId OUT, 'entry[i]|content|m:properties|d:ReasonForDismissalId'
EXEC sp_OAMethod @xmlResponse, 'ChilkatPath', @d_AccountId_m_type OUT, 'entry[i]|content|m:properties|d:AccountId|(m:type)'
EXEC sp_OAMethod @xmlResponse, 'GetChildContent', @d_AccountId OUT, 'entry[i]|content|m:properties|d:AccountId'
EXEC sp_OAMethod @xmlResponse, 'ChilkatPath', @d_ManagerId_m_type OUT, 'entry[i]|content|m:properties|d:ManagerId|(m:type)'
EXEC sp_OAMethod @xmlResponse, 'GetChildContent', @d_ManagerId OUT, 'entry[i]|content|m:properties|d:ManagerId'
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 "$filter=endswith%28Field2,%27Field2Value%27%29"
-H "ForceUseSession: true"
-H "BPMCSRF: {{BPMCSRF}}"
https://myserver.com/0/ServiceModel/EntityDataService.svc/Collection1Collection
Postman Collection Item JSON
{
"name": "$filter parameter with endswith function",
"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=endswith({{FieldName2}},'{{FieldName2Value3}}')",
"host": [
"{{BaseURI}}"
],
"path": [
"0",
"ServiceModel",
"EntityDataService.svc",
"{{CollectionName1}}Collection"
],
"query": [
{
"key": "$filter",
"value": "endswith({{FieldName2}},'{{FieldName2Value3}}')"
}
]
},
"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 with the endswith function."
},
"response": [
{
"name": "[200] Gets filtered object collection instances. The filter uses the “endswith” function",
"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=endswith(FullJobTitle,'manager')",
"protocol": "https",
"host": [
"myserver",
"com"
],
"path": [
"0",
"ServiceModel",
"EntityDataService.svc",
"EmployeeCollection"
],
"query": [
{
"key": "$filter",
"value": "endswith(FullJobTitle,'manager')"
}
]
}
},
"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:25:38 GMT"
},
{
"key": "Content-Length",
"value": "25450"
}
],
"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:25:38Z</updated>\n <link rel=\"self\" title=\"EmployeeCollection\" href=\"EmployeeCollection\" />\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 <link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/CreatedBy\" type=\"application/atom+xml;type=entry\" title=\"CreatedBy\" href=\"EmployeeCollection(guid'0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755')/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'0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755')/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'0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755')/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'0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755')/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'0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755')/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'0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755')/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'0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755')/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'0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755')/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'0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755')/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'0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755')/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'0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755')/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'0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755')/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'0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755')/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'0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755')/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'0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755')/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'0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755')/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'0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755')/VwEmployeesHierarchyCollectionByEmployee\" />\n <title />\n <updated>2020-04-09T11:25:38Z</updated>\n <author>\n <name />\n </author>\n <content type=\"application/xml\">\n <m:properties>\n <d:Id m:type=\"Edm.Guid\">0f5feb72-bcc8-4b0c-bace-1cf7d3ee7755</d:Id>\n <d:Name>Symon Clarke</d:Name>\n <d:CreatedOn m:type=\"Edm.DateTime\">2017-03-30T14:47:15Z</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:41:38Z</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\">00e63875-323c-41a9-a795-e532e98d1563</d:ContactId>\n <d:OrgStructureUnitId m:type=\"Edm.Guid\">ef696860-5b18-42cc-ae96-5fcb927b370a</d:OrgStructureUnitId>\n <d:Notes></d:Notes>\n <d:JobId m:type=\"Edm.Guid\">33f48df9-56e6-df11-971b-001d60e938c6</d:JobId>\n <d:FullJobTitle>Marketing manager</d:FullJobTitle>\n <d:OwnerId m:type=\"Edm.Guid\">76929f8c-7e15-4c64-bdb0-adc62d383727</d:OwnerId>\n <d:CareerStartDate m:type=\"Edm.DateTime\">2019-07-14T00: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\">82c5f81c-4018-44f1-8dcb-738704fd21c4</d:ManagerId>\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 <link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/CreatedBy\" type=\"application/atom+xml;type=entry\" title=\"CreatedBy\" href=\"EmployeeCollection(guid'9842387d-069f-466c-9551-32cedbc16d90')/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'9842387d-069f-466c-9551-32cedbc16d90')/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'9842387d-069f-466c-9551-32cedbc16d90')/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'9842387d-069f-466c-9551-32cedbc16d90')/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'9842387d-069f-466c-9551-32cedbc16d90')/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'9842387d-069f-466c-9551-32cedbc16d90')/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'9842387d-069f-466c-9551-32cedbc16d90')/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'9842387d-069f-466c-9551-32cedbc16d90')/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'9842387d-069f-466c-9551-32cedbc16d90')/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'9842387d-069f-466c-9551-32cedbc16d90')/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'9842387d-069f-466c-9551-32cedbc16d90')/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'9842387d-069f-466c-9551-32cedbc16d90')/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'9842387d-069f-466c-9551-32cedbc16d90')/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'9842387d-069f-466c-9551-32cedbc16d90')/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'9842387d-069f-466c-9551-32cedbc16d90')/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'9842387d-069f-466c-9551-32cedbc16d90')/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'9842387d-069f-466c-9551-32cedbc16d90')/VwEmployeesHierarchyCollectionByEmployee\" />\n <title />\n <updated>2020-04-09T11:25:38Z</updated>\n <author>\n <name />\n </author>\n <content type=\"application/xml\">\n <m:properties>\n <d:Id m:type=\"Edm.Guid\">9842387d-069f-466c-9551-32cedbc16d90</d:Id>\n <d:Name>Mary King</d:Name>\n <d:CreatedOn m:type=\"Edm.DateTime\">2017-03-30T14:50:30Z</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:27:18Z</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\">cad50d15-f28d-49fc-aa79-21615ac35b86</d:ContactId>\n <d:OrgStructureUnitId m:type=\"Edm.Guid\">43172897-fbd6-4bc1-b81b-55964ab558e6</d:OrgStructureUnitId>\n <d:Notes></d:Notes>\n <d:JobId m:type=\"Edm.Guid\">955472f0-56e6-df11-971b-001d60e938c6</d:JobId>\n <d:FullJobTitle>Customer manager</d:FullJobTitle>\n <d:OwnerId m:type=\"Edm.Guid\">76929f8c-7e15-4c64-bdb0-adc62d383727</d:OwnerId>\n <d:CareerStartDate m:type=\"Edm.DateTime\">2019-04-07T00: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\">e17c9cd6-262d-481d-86a9-f09a82984e0e</d:ManagerId>\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 <link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/CreatedBy\" type=\"application/atom+xml;type=entry\" title=\"CreatedBy\" href=\"EmployeeCollection(guid'3b952b60-2502-4ab2-a967-7f898f8b8b55')/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'3b952b60-2502-4ab2-a967-7f898f8b8b55')/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'3b952b60-2502-4ab2-a967-7f898f8b8b55')/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'3b952b60-2502-4ab2-a967-7f898f8b8b55')/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'3b952b60-2502-4ab2-a967-7f898f8b8b55')/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'3b952b60-2502-4ab2-a967-7f898f8b8b55')/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'3b952b60-2502-4ab2-a967-7f898f8b8b55')/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'3b952b60-2502-4ab2-a967-7f898f8b8b55')/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'3b952b60-2502-4ab2-a967-7f898f8b8b55')/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'3b952b60-2502-4ab2-a967-7f898f8b8b55')/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'3b952b60-2502-4ab2-a967-7f898f8b8b55')/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'3b952b60-2502-4ab2-a967-7f898f8b8b55')/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'3b952b60-2502-4ab2-a967-7f898f8b8b55')/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'3b952b60-2502-4ab2-a967-7f898f8b8b55')/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'3b952b60-2502-4ab2-a967-7f898f8b8b55')/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'3b952b60-2502-4ab2-a967-7f898f8b8b55')/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'3b952b60-2502-4ab2-a967-7f898f8b8b55')/VwEmployeesHierarchyCollectionByEmployee\" />\n <title />\n <updated>2020-04-09T11:25:38Z</updated>\n <author>\n <name />\n </author>\n <content type=\"application/xml\">\n <m:properties>\n <d:Id m:type=\"Edm.Guid\">3b952b60-2502-4ab2-a967-7f898f8b8b55</d:Id>\n <d:Name>Megan Lewis</d:Name>\n <d:CreatedOn m:type=\"Edm.DateTime\">2017-03-30T14:51:27Z</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:30:20Z</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\">27bbc601-2d48-4652-8d18-eb93e718a78c</d:ContactId>\n <d:OrgStructureUnitId m:type=\"Edm.Guid\">43172897-fbd6-4bc1-b81b-55964ab558e6</d:OrgStructureUnitId>\n <d:Notes></d:Notes>\n <d:JobId m:type=\"Edm.Guid\">955472f0-56e6-df11-971b-001d60e938c6</d:JobId>\n <d:FullJobTitle>Customer manager</d:FullJobTitle>\n <d:OwnerId m:type=\"Edm.Guid\">76929f8c-7e15-4c64-bdb0-adc62d383727</d:OwnerId>\n <d:CareerStartDate m:type=\"Edm.DateTime\">2019-11-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\">2020-02-10T00: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\">e17c9cd6-262d-481d-86a9-f09a82984e0e</d:ManagerId>\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 <link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/CreatedBy\" type=\"application/atom+xml;type=entry\" title=\"CreatedBy\" href=\"EmployeeCollection(guid'cff2b81f-6f47-429a-acf8-fb751bd4575e')/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'cff2b81f-6f47-429a-acf8-fb751bd4575e')/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'cff2b81f-6f47-429a-acf8-fb751bd4575e')/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'cff2b81f-6f47-429a-acf8-fb751bd4575e')/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'cff2b81f-6f47-429a-acf8-fb751bd4575e')/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'cff2b81f-6f47-429a-acf8-fb751bd4575e')/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'cff2b81f-6f47-429a-acf8-fb751bd4575e')/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'cff2b81f-6f47-429a-acf8-fb751bd4575e')/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'cff2b81f-6f47-429a-acf8-fb751bd4575e')/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'cff2b81f-6f47-429a-acf8-fb751bd4575e')/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'cff2b81f-6f47-429a-acf8-fb751bd4575e')/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'cff2b81f-6f47-429a-acf8-fb751bd4575e')/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'cff2b81f-6f47-429a-acf8-fb751bd4575e')/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'cff2b81f-6f47-429a-acf8-fb751bd4575e')/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'cff2b81f-6f47-429a-acf8-fb751bd4575e')/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'cff2b81f-6f47-429a-acf8-fb751bd4575e')/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'cff2b81f-6f47-429a-acf8-fb751bd4575e')/VwEmployeesHierarchyCollectionByEmployee\" />\n <title />\n <updated>2020-04-09T11:25:38Z</updated>\n <author>\n <name />\n </author>\n <content type=\"application/xml\">\n <m:properties>\n <d:Id m:type=\"Edm.Guid\">cff2b81f-6f47-429a-acf8-fb751bd4575e</d:Id>\n <d:Name>Tracy Wilkinson</d:Name>\n <d:CreatedOn m:type=\"Edm.DateTime\">2017-03-30T14:52:50Z</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-31T08:24:48Z</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\">8b2c9fcc-8187-4197-b5fe-4acf4cc52475</d:ContactId>\n <d:OrgStructureUnitId m:type=\"Edm.Guid\">ef696860-5b18-42cc-ae96-5fcb927b370a</d:OrgStructureUnitId>\n <d:Notes></d:Notes>\n <d:JobId m:type=\"Edm.Guid\">33f48df9-56e6-df11-971b-001d60e938c6</d:JobId>\n <d:FullJobTitle>Marketing manager</d:FullJobTitle>\n <d:OwnerId m:type=\"Edm.Guid\">76929f8c-7e15-4c64-bdb0-adc62d383727</d:OwnerId>\n <d:CareerStartDate m:type=\"Edm.DateTime\">2015-11-29T00:00:00</d:CareerStartDate>\n <d:CareerDueDate m:type=\"Edm.DateTime\">2019-07-08T00: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\">f83b228a-f36b-1410-b783-00155d04320c</d:ReasonForDismissalId>\n <d:AccountId m:type=\"Edm.Guid\">e308b781-3c5b-4ecb-89ef-5c1ed4da488e</d:AccountId>\n <d:ManagerId m:type=\"Edm.Guid\">82c5f81c-4018-44f1-8dcb-738704fd21c4</d:ManagerId>\n </m:properties>\n </content>\n </entry>\n</feed>"
}
]
}