phpExt / Creatio API / $filter parameter with length function (gt operator)
Back to Collection Items
<?php
include("chilkat.php");
// Use "chilkat_9_5_0.php" for versions of Chilkat < 10.0.0
// This example assumes the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.
$http = new CkHttp();
$queryParams = new CkJsonObject();
$queryParams->UpdateString('$filter','length(Field2) gt Field2Value');
$http->SetRequestHeader('ForceUseSession','true');
$http->SetRequestHeader('BPMCSRF','{{BPMCSRF}}');
// resp is a CkHttpResponse
$resp = $http->QuickRequestParams('GET','https://myserver.com/0/ServiceModel/EntityDataService.svc/Collection1Collection',$queryParams);
if ($http->get_LastMethodSuccess() == false) {
print $http->lastErrorText() . "\n";
exit;
}
$sbResponseBody = new CkStringBuilder();
$resp->GetBodySb($sbResponseBody);
$xmlResponse = new CkXml();
$xmlResponse->LoadSb($sbResponseBody,true);
print $xmlResponse->getXml() . "\n";
// Sample XML response:
// (Sample code for parsing the XML response is shown below)
// <?xml version="1.0" encoding="utf-8"?>
// <feed xml:base="https://myserver.com/0/ServiceModel/EntityDataService.svc/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
// <id>https://myserver.com/0/ServiceModel/EntityDataService.svc/EmployeeCollection</id>
// <title type="text">EmployeeCollection</title>
// <updated>2020-04-09T11:27:55Z</updated>
// <link rel="self" title="EmployeeCollection" href="EmployeeCollection"/>
// <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')"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/CreatedBy" type="application/atom+xml;type=entry" title="CreatedBy" href="EmployeeCollection(guid'f11df686-a557-4790-99e5-36ec8dcd2f00')/CreatedBy"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ModifiedBy" type="application/atom+xml;type=entry" title="ModifiedBy" href="EmployeeCollection(guid'f11df686-a557-4790-99e5-36ec8dcd2f00')/ModifiedBy"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Contact" type="application/atom+xml;type=entry" title="Contact" href="EmployeeCollection(guid'f11df686-a557-4790-99e5-36ec8dcd2f00')/Contact"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/OrgStructureUnitCollectionByHead" type="application/atom+xml;type=feed" title="OrgStructureUnitCollectionByHead" href="EmployeeCollection(guid'f11df686-a557-4790-99e5-36ec8dcd2f00')/OrgStructureUnitCollectionByHead"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/OrgStructureUnit" type="application/atom+xml;type=entry" title="OrgStructureUnit" href="EmployeeCollection(guid'f11df686-a557-4790-99e5-36ec8dcd2f00')/OrgStructureUnit"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Job" type="application/atom+xml;type=entry" title="Job" href="EmployeeCollection(guid'f11df686-a557-4790-99e5-36ec8dcd2f00')/Job"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Owner" type="application/atom+xml;type=entry" title="Owner" href="EmployeeCollection(guid'f11df686-a557-4790-99e5-36ec8dcd2f00')/Owner"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ReasonForDismissal" type="application/atom+xml;type=entry" title="ReasonForDismissal" href="EmployeeCollection(guid'f11df686-a557-4790-99e5-36ec8dcd2f00')/ReasonForDismissal"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Account" type="application/atom+xml;type=entry" title="Account" href="EmployeeCollection(guid'f11df686-a557-4790-99e5-36ec8dcd2f00')/Account"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Manager" type="application/atom+xml;type=entry" title="Manager" href="EmployeeCollection(guid'f11df686-a557-4790-99e5-36ec8dcd2f00')/Manager"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeCollectionByManager" type="application/atom+xml;type=feed" title="EmployeeCollectionByManager" href="EmployeeCollection(guid'f11df686-a557-4790-99e5-36ec8dcd2f00')/EmployeeCollectionByManager"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeCareerCollectionByEmployee" type="application/atom+xml;type=feed" title="EmployeeCareerCollectionByEmployee" href="EmployeeCollection(guid'f11df686-a557-4790-99e5-36ec8dcd2f00')/EmployeeCareerCollectionByEmployee"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeFileCollectionByEmployee" type="application/atom+xml;type=feed" title="EmployeeFileCollectionByEmployee" href="EmployeeCollection(guid'f11df686-a557-4790-99e5-36ec8dcd2f00')/EmployeeFileCollectionByEmployee"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeInFolderCollectionByEmployee" type="application/atom+xml;type=feed" title="EmployeeInFolderCollectionByEmployee" href="EmployeeCollection(guid'f11df686-a557-4790-99e5-36ec8dcd2f00')/EmployeeInFolderCollectionByEmployee"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeInTagCollectionByEntity" type="application/atom+xml;type=feed" title="EmployeeInTagCollectionByEntity" href="EmployeeCollection(guid'f11df686-a557-4790-99e5-36ec8dcd2f00')/EmployeeInTagCollectionByEntity"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/SalaryCollectionByEmployee" type="application/atom+xml;type=feed" title="SalaryCollectionByEmployee" href="EmployeeCollection(guid'f11df686-a557-4790-99e5-36ec8dcd2f00')/SalaryCollectionByEmployee"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/VwEmployeesHierarchyCollectionByEmployee" type="application/atom+xml;type=feed" title="VwEmployeesHierarchyCollectionByEmployee" href="EmployeeCollection(guid'f11df686-a557-4790-99e5-36ec8dcd2f00')/VwEmployeesHierarchyCollectionByEmployee"/>
// <title/>
// <updated>2020-04-09T11:27:55Z</updated>
// <author>
// <name/>
// </author>
// <content type="application/xml">
// <m:properties>
// <d:Id m:type="Edm.Guid">f11df686-a557-4790-99e5-36ec8dcd2f00</d:Id>
// <d:Name>Sarah M. Richards</d:Name>
// <d:CreatedOn m:type="Edm.DateTime">2017-03-30T14:24:32Z</d:CreatedOn>
// <d:CreatedById m:type="Edm.Guid">76929f8c-7e15-4c64-bdb0-adc62d383727</d:CreatedById>
// <d:ModifiedOn m:type="Edm.DateTime">2017-03-31T07:37:37Z</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">f1edc225-4312-45e9-90fb-a63edbe9294f</d:ContactId>
// <d:OrgStructureUnitId m:type="Edm.Guid">60c294d4-b4f7-4809-b061-1e8016264edc</d:OrgStructureUnitId>
// <d:Notes/>
// <d:JobId m:type="Edm.Guid">ca49a603-57e6-df11-971b-001d60e938c6</d:JobId>
// <d:FullJobTitle>Head of accounting department</d:FullJobTitle>
// <d:OwnerId m:type="Edm.Guid">76929f8c-7e15-4c64-bdb0-adc62d383727</d:OwnerId>
// <d:CareerStartDate m:type="Edm.DateTime">2019-01-08T00: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">26fffdc9-a184-47a7-a6b6-cafc9fe58327</d:ManagerId>
// </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')"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/CreatedBy" type="application/atom+xml;type=entry" title="CreatedBy" href="EmployeeCollection(guid'82c5f81c-4018-44f1-8dcb-738704fd21c4')/CreatedBy"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ModifiedBy" type="application/atom+xml;type=entry" title="ModifiedBy" href="EmployeeCollection(guid'82c5f81c-4018-44f1-8dcb-738704fd21c4')/ModifiedBy"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Contact" type="application/atom+xml;type=entry" title="Contact" href="EmployeeCollection(guid'82c5f81c-4018-44f1-8dcb-738704fd21c4')/Contact"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/OrgStructureUnitCollectionByHead" type="application/atom+xml;type=feed" title="OrgStructureUnitCollectionByHead" href="EmployeeCollection(guid'82c5f81c-4018-44f1-8dcb-738704fd21c4')/OrgStructureUnitCollectionByHead"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/OrgStructureUnit" type="application/atom+xml;type=entry" title="OrgStructureUnit" href="EmployeeCollection(guid'82c5f81c-4018-44f1-8dcb-738704fd21c4')/OrgStructureUnit"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Job" type="application/atom+xml;type=entry" title="Job" href="EmployeeCollection(guid'82c5f81c-4018-44f1-8dcb-738704fd21c4')/Job"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Owner" type="application/atom+xml;type=entry" title="Owner" href="EmployeeCollection(guid'82c5f81c-4018-44f1-8dcb-738704fd21c4')/Owner"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ReasonForDismissal" type="application/atom+xml;type=entry" title="ReasonForDismissal" href="EmployeeCollection(guid'82c5f81c-4018-44f1-8dcb-738704fd21c4')/ReasonForDismissal"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Account" type="application/atom+xml;type=entry" title="Account" href="EmployeeCollection(guid'82c5f81c-4018-44f1-8dcb-738704fd21c4')/Account"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Manager" type="application/atom+xml;type=entry" title="Manager" href="EmployeeCollection(guid'82c5f81c-4018-44f1-8dcb-738704fd21c4')/Manager"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeCollectionByManager" type="application/atom+xml;type=feed" title="EmployeeCollectionByManager" href="EmployeeCollection(guid'82c5f81c-4018-44f1-8dcb-738704fd21c4')/EmployeeCollectionByManager"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeCareerCollectionByEmployee" type="application/atom+xml;type=feed" title="EmployeeCareerCollectionByEmployee" href="EmployeeCollection(guid'82c5f81c-4018-44f1-8dcb-738704fd21c4')/EmployeeCareerCollectionByEmployee"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeFileCollectionByEmployee" type="application/atom+xml;type=feed" title="EmployeeFileCollectionByEmployee" href="EmployeeCollection(guid'82c5f81c-4018-44f1-8dcb-738704fd21c4')/EmployeeFileCollectionByEmployee"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeInFolderCollectionByEmployee" type="application/atom+xml;type=feed" title="EmployeeInFolderCollectionByEmployee" href="EmployeeCollection(guid'82c5f81c-4018-44f1-8dcb-738704fd21c4')/EmployeeInFolderCollectionByEmployee"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeInTagCollectionByEntity" type="application/atom+xml;type=feed" title="EmployeeInTagCollectionByEntity" href="EmployeeCollection(guid'82c5f81c-4018-44f1-8dcb-738704fd21c4')/EmployeeInTagCollectionByEntity"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/SalaryCollectionByEmployee" type="application/atom+xml;type=feed" title="SalaryCollectionByEmployee" href="EmployeeCollection(guid'82c5f81c-4018-44f1-8dcb-738704fd21c4')/SalaryCollectionByEmployee"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/VwEmployeesHierarchyCollectionByEmployee" type="application/atom+xml;type=feed" title="VwEmployeesHierarchyCollectionByEmployee" href="EmployeeCollection(guid'82c5f81c-4018-44f1-8dcb-738704fd21c4')/VwEmployeesHierarchyCollectionByEmployee"/>
// <title/>
// <updated>2020-04-09T11:27:55Z</updated>
// <author>
// <name/>
// </author>
// <content type="application/xml">
// <m:properties>
// <d:Id m:type="Edm.Guid">82c5f81c-4018-44f1-8dcb-738704fd21c4</d:Id>
// <d:Name>Valerie E. Murphy</d:Name>
// <d:CreatedOn m:type="Edm.DateTime">2017-03-30T13:33:04Z</d:CreatedOn>
// <d:CreatedById m:type="Edm.Guid">76929f8c-7e15-4c64-bdb0-adc62d383727</d:CreatedById>
// <d:ModifiedOn m:type="Edm.DateTime">2017-03-31T08:31:29Z</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">c38d46fd-e405-491a-a508-01bb9760eecc</d:ContactId>
// <d:OrgStructureUnitId m:type="Edm.Guid">ef696860-5b18-42cc-ae96-5fcb927b370a</d:OrgStructureUnitId>
// <d:Notes/>
// <d:JobId m:type="Edm.Guid">ca49a603-57e6-df11-971b-001d60e938c6</d:JobId>
// <d:FullJobTitle>Head of marketing department</d:FullJobTitle>
// <d:OwnerId m:type="Edm.Guid">76929f8c-7e15-4c64-bdb0-adc62d383727</d:OwnerId>
// <d:CareerStartDate m:type="Edm.DateTime">2019-02-03T00: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">26fffdc9-a184-47a7-a6b6-cafc9fe58327</d:ManagerId>
// </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')"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/CreatedBy" type="application/atom+xml;type=entry" title="CreatedBy" href="EmployeeCollection(guid'3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb')/CreatedBy"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ModifiedBy" type="application/atom+xml;type=entry" title="ModifiedBy" href="EmployeeCollection(guid'3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb')/ModifiedBy"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Contact" type="application/atom+xml;type=entry" title="Contact" href="EmployeeCollection(guid'3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb')/Contact"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/OrgStructureUnitCollectionByHead" type="application/atom+xml;type=feed" title="OrgStructureUnitCollectionByHead" href="EmployeeCollection(guid'3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb')/OrgStructureUnitCollectionByHead"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/OrgStructureUnit" type="application/atom+xml;type=entry" title="OrgStructureUnit" href="EmployeeCollection(guid'3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb')/OrgStructureUnit"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Job" type="application/atom+xml;type=entry" title="Job" href="EmployeeCollection(guid'3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb')/Job"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Owner" type="application/atom+xml;type=entry" title="Owner" href="EmployeeCollection(guid'3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb')/Owner"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/ReasonForDismissal" type="application/atom+xml;type=entry" title="ReasonForDismissal" href="EmployeeCollection(guid'3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb')/ReasonForDismissal"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Account" type="application/atom+xml;type=entry" title="Account" href="EmployeeCollection(guid'3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb')/Account"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/Manager" type="application/atom+xml;type=entry" title="Manager" href="EmployeeCollection(guid'3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb')/Manager"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeCollectionByManager" type="application/atom+xml;type=feed" title="EmployeeCollectionByManager" href="EmployeeCollection(guid'3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb')/EmployeeCollectionByManager"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeCareerCollectionByEmployee" type="application/atom+xml;type=feed" title="EmployeeCareerCollectionByEmployee" href="EmployeeCollection(guid'3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb')/EmployeeCareerCollectionByEmployee"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeFileCollectionByEmployee" type="application/atom+xml;type=feed" title="EmployeeFileCollectionByEmployee" href="EmployeeCollection(guid'3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb')/EmployeeFileCollectionByEmployee"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeInFolderCollectionByEmployee" type="application/atom+xml;type=feed" title="EmployeeInFolderCollectionByEmployee" href="EmployeeCollection(guid'3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb')/EmployeeInFolderCollectionByEmployee"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/EmployeeInTagCollectionByEntity" type="application/atom+xml;type=feed" title="EmployeeInTagCollectionByEntity" href="EmployeeCollection(guid'3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb')/EmployeeInTagCollectionByEntity"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/SalaryCollectionByEmployee" type="application/atom+xml;type=feed" title="SalaryCollectionByEmployee" href="EmployeeCollection(guid'3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb')/SalaryCollectionByEmployee"/>
// <link rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/VwEmployeesHierarchyCollectionByEmployee" type="application/atom+xml;type=feed" title="VwEmployeesHierarchyCollectionByEmployee" href="EmployeeCollection(guid'3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb')/VwEmployeesHierarchyCollectionByEmployee"/>
// <title/>
// <updated>2020-04-09T11:27:55Z</updated>
// <author>
// <name/>
// </author>
// <content type="application/xml">
// <m:properties>
// <d:Id m:type="Edm.Guid">3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb</d:Id>
// <d:Name>Peter Moore</d:Name>
// <d:CreatedOn m:type="Edm.DateTime">2017-03-30T14:35:03Z</d:CreatedOn>
// <d:CreatedById m:type="Edm.Guid">76929f8c-7e15-4c64-bdb0-adc62d383727</d:CreatedById>
// <d:ModifiedOn m:type="Edm.DateTime">2017-03-31T07:32:45Z</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">8850d33c-b783-45dc-a86c-5d29f9e7c03a</d:ContactId>
// <d:OrgStructureUnitId m:type="Edm.Guid">d436a9ce-9690-4415-9e03-e8061d7cabb5</d:OrgStructureUnitId>
// <d:Notes/>
// <d:JobId m:type="Edm.Guid">ca49a603-57e6-df11-971b-001d60e938c6</d:JobId>
// <d:FullJobTitle>Head of development department</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">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">26fffdc9-a184-47a7-a6b6-cafc9fe58327</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
$feed_xml_base = $xmlResponse->getAttrValue('xml:base');
$feed_xmlns = $xmlResponse->getAttrValue('xmlns');
$feed_xmlns_d = $xmlResponse->getAttrValue('xmlns:d');
$feed_xmlns_m = $xmlResponse->getAttrValue('xmlns:m');
$id = $xmlResponse->getChildContent('id');
$title_type = $xmlResponse->chilkatPath('title|(type)');
$title = $xmlResponse->getChildContent('title');
$updated = $xmlResponse->getChildContent('updated');
$link_rel = $xmlResponse->chilkatPath('link|(rel)');
$link_title = $xmlResponse->chilkatPath('link|(title)');
$link_href = $xmlResponse->chilkatPath('link|(href)');
$i = 0;
$count_i = $xmlResponse->NumChildrenHavingTag('entry');
while ($i < $count_i) {
$xmlResponse->put_I($i);
$id = $xmlResponse->getChildContent('entry[i]|id');
$category_term = $xmlResponse->chilkatPath('entry[i]|category|(term)');
$category_scheme = $xmlResponse->chilkatPath('entry[i]|category|(scheme)');
$j = 0;
$count_j = $xmlResponse->NumChildrenHavingTag('entry[i]|link');
while ($j < $count_j) {
$xmlResponse->put_J($j);
$link_rel = $xmlResponse->chilkatPath('entry[i]|link[j]|(rel)');
$link_title = $xmlResponse->chilkatPath('entry[i]|link[j]|(title)');
$link_href = $xmlResponse->chilkatPath('entry[i]|link[j]|(href)');
$link_type = $xmlResponse->chilkatPath('entry[i]|link[j]|(type)');
$j = $j + 1;
}
$updated = $xmlResponse->getChildContent('entry[i]|updated');
$content_type = $xmlResponse->chilkatPath('entry[i]|content|(type)');
$d_Id_m_type = $xmlResponse->chilkatPath('entry[i]|content|m:properties|d:Id|(m:type)');
$d_Id = $xmlResponse->getChildContent('entry[i]|content|m:properties|d:Id');
$d_Name = $xmlResponse->getChildContent('entry[i]|content|m:properties|d:Name');
$d_CreatedOn_m_type = $xmlResponse->chilkatPath('entry[i]|content|m:properties|d:CreatedOn|(m:type)');
$d_CreatedOn = $xmlResponse->getChildContent('entry[i]|content|m:properties|d:CreatedOn');
$d_CreatedById_m_type = $xmlResponse->chilkatPath('entry[i]|content|m:properties|d:CreatedById|(m:type)');
$d_CreatedById = $xmlResponse->getChildContent('entry[i]|content|m:properties|d:CreatedById');
$d_ModifiedOn_m_type = $xmlResponse->chilkatPath('entry[i]|content|m:properties|d:ModifiedOn|(m:type)');
$d_ModifiedOn = $xmlResponse->getChildContent('entry[i]|content|m:properties|d:ModifiedOn');
$d_ModifiedById_m_type = $xmlResponse->chilkatPath('entry[i]|content|m:properties|d:ModifiedById|(m:type)');
$d_ModifiedById = $xmlResponse->getChildContent('entry[i]|content|m:properties|d:ModifiedById');
$d_ProcessListeners_m_type = $xmlResponse->chilkatPath('entry[i]|content|m:properties|d:ProcessListeners|(m:type)');
$d_ProcessListeners = $xmlResponse->GetChildIntValue('entry[i]|content|m:properties|d:ProcessListeners');
$d_ContactId_m_type = $xmlResponse->chilkatPath('entry[i]|content|m:properties|d:ContactId|(m:type)');
$d_ContactId = $xmlResponse->getChildContent('entry[i]|content|m:properties|d:ContactId');
$d_OrgStructureUnitId_m_type = $xmlResponse->chilkatPath('entry[i]|content|m:properties|d:OrgStructureUnitId|(m:type)');
$d_OrgStructureUnitId = $xmlResponse->getChildContent('entry[i]|content|m:properties|d:OrgStructureUnitId');
$d_JobId_m_type = $xmlResponse->chilkatPath('entry[i]|content|m:properties|d:JobId|(m:type)');
$d_JobId = $xmlResponse->getChildContent('entry[i]|content|m:properties|d:JobId');
$d_FullJobTitle = $xmlResponse->getChildContent('entry[i]|content|m:properties|d:FullJobTitle');
$d_OwnerId_m_type = $xmlResponse->chilkatPath('entry[i]|content|m:properties|d:OwnerId|(m:type)');
$d_OwnerId = $xmlResponse->getChildContent('entry[i]|content|m:properties|d:OwnerId');
$d_CareerStartDate_m_type = $xmlResponse->chilkatPath('entry[i]|content|m:properties|d:CareerStartDate|(m:type)');
$d_CareerStartDate = $xmlResponse->getChildContent('entry[i]|content|m:properties|d:CareerStartDate');
$d_CareerDueDate_m_type = $xmlResponse->chilkatPath('entry[i]|content|m:properties|d:CareerDueDate|(m:type)');
$d_CareerDueDate = $xmlResponse->getChildContent('entry[i]|content|m:properties|d:CareerDueDate');
$d_ProbationDueDate_m_type = $xmlResponse->chilkatPath('entry[i]|content|m:properties|d:ProbationDueDate|(m:type)');
$d_ProbationDueDate = $xmlResponse->getChildContent('entry[i]|content|m:properties|d:ProbationDueDate');
$d_ReasonForDismissalId_m_type = $xmlResponse->chilkatPath('entry[i]|content|m:properties|d:ReasonForDismissalId|(m:type)');
$d_ReasonForDismissalId = $xmlResponse->getChildContent('entry[i]|content|m:properties|d:ReasonForDismissalId');
$d_AccountId_m_type = $xmlResponse->chilkatPath('entry[i]|content|m:properties|d:AccountId|(m:type)');
$d_AccountId = $xmlResponse->getChildContent('entry[i]|content|m:properties|d:AccountId');
$d_ManagerId_m_type = $xmlResponse->chilkatPath('entry[i]|content|m:properties|d:ManagerId|(m:type)');
$d_ManagerId = $xmlResponse->getChildContent('entry[i]|content|m:properties|d:ManagerId');
$i = $i + 1;
}
?>
Curl Command
curl -G -d "$filter=length%28Field2%29%20gt%20Field2Value"
-H "ForceUseSession: true"
-H "BPMCSRF: {{BPMCSRF}}"
https://myserver.com/0/ServiceModel/EntityDataService.svc/Collection1Collection
Postman Collection Item JSON
{
"name": "$filter parameter with length function (gt operator)",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "GET",
"header": [
{
"key": "ForceUseSession",
"type": "text",
"value": "true"
},
{
"key": "BPMCSRF",
"type": "text",
"value": "{{BPMCSRF}}"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{BaseURI}}/0/ServiceModel/EntityDataService.svc/{{CollectionName1}}Collection?$filter=length({{FieldName2}}) gt {{FieldName2Value5}}",
"host": [
"{{BaseURI}}"
],
"path": [
"0",
"ServiceModel",
"EntityDataService.svc",
"{{CollectionName1}}Collection"
],
"query": [
{
"key": "$filter",
"value": "length({{FieldName2}}) gt {{FieldName2Value5}}"
}
]
},
"description": "Request for getting filtered object collection instances via the [$filter](https://www.odata.org/documentation/odata-version-3-0/odata-version-3-0-core-protocol/#thefiltersystemqueryoption) parameter and the length function with the gt operator."
},
"response": [
{
"name": "[200] Gets object collection instances; filter with the “gt” operator (length is greater that a set value)",
"originalRequest": {
"method": "GET",
"header": [
{
"key": "ForceUseSession",
"type": "text",
"value": "true"
},
{
"key": "BPMCSRF",
"type": "text",
"value": "{{BPMCSRF}}"
}
],
"url": {
"raw": "https://myserver.com/0/ServiceModel/EntityDataService.svc/EmployeeCollection?$filter=length(FullJobTitle) gt 25",
"protocol": "https",
"host": [
"myserver",
"com"
],
"path": [
"0",
"ServiceModel",
"EntityDataService.svc",
"EmployeeCollection"
],
"query": [
{
"key": "$filter",
"value": "length(FullJobTitle) gt 25"
}
]
}
},
"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:27:55 GMT"
},
{
"key": "Content-Length",
"value": "19268"
}
],
"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:27:55Z</updated>\n <link rel=\"self\" title=\"EmployeeCollection\" href=\"EmployeeCollection\" />\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 <link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/CreatedBy\" type=\"application/atom+xml;type=entry\" title=\"CreatedBy\" href=\"EmployeeCollection(guid'f11df686-a557-4790-99e5-36ec8dcd2f00')/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'f11df686-a557-4790-99e5-36ec8dcd2f00')/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'f11df686-a557-4790-99e5-36ec8dcd2f00')/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'f11df686-a557-4790-99e5-36ec8dcd2f00')/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'f11df686-a557-4790-99e5-36ec8dcd2f00')/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'f11df686-a557-4790-99e5-36ec8dcd2f00')/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'f11df686-a557-4790-99e5-36ec8dcd2f00')/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'f11df686-a557-4790-99e5-36ec8dcd2f00')/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'f11df686-a557-4790-99e5-36ec8dcd2f00')/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'f11df686-a557-4790-99e5-36ec8dcd2f00')/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'f11df686-a557-4790-99e5-36ec8dcd2f00')/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'f11df686-a557-4790-99e5-36ec8dcd2f00')/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'f11df686-a557-4790-99e5-36ec8dcd2f00')/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'f11df686-a557-4790-99e5-36ec8dcd2f00')/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'f11df686-a557-4790-99e5-36ec8dcd2f00')/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'f11df686-a557-4790-99e5-36ec8dcd2f00')/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'f11df686-a557-4790-99e5-36ec8dcd2f00')/VwEmployeesHierarchyCollectionByEmployee\" />\n <title />\n <updated>2020-04-09T11:27:55Z</updated>\n <author>\n <name />\n </author>\n <content type=\"application/xml\">\n <m:properties>\n <d:Id m:type=\"Edm.Guid\">f11df686-a557-4790-99e5-36ec8dcd2f00</d:Id>\n <d:Name>Sarah M. Richards</d:Name>\n <d:CreatedOn m:type=\"Edm.DateTime\">2017-03-30T14:24:32Z</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:37:37Z</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\">f1edc225-4312-45e9-90fb-a63edbe9294f</d:ContactId>\n <d:OrgStructureUnitId m:type=\"Edm.Guid\">60c294d4-b4f7-4809-b061-1e8016264edc</d:OrgStructureUnitId>\n <d:Notes></d:Notes>\n <d:JobId m:type=\"Edm.Guid\">ca49a603-57e6-df11-971b-001d60e938c6</d:JobId>\n <d:FullJobTitle>Head of accounting department</d:FullJobTitle>\n <d:OwnerId m:type=\"Edm.Guid\">76929f8c-7e15-4c64-bdb0-adc62d383727</d:OwnerId>\n <d:CareerStartDate m:type=\"Edm.DateTime\">2019-01-08T00: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\">26fffdc9-a184-47a7-a6b6-cafc9fe58327</d:ManagerId>\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 <link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/CreatedBy\" type=\"application/atom+xml;type=entry\" title=\"CreatedBy\" href=\"EmployeeCollection(guid'82c5f81c-4018-44f1-8dcb-738704fd21c4')/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'82c5f81c-4018-44f1-8dcb-738704fd21c4')/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'82c5f81c-4018-44f1-8dcb-738704fd21c4')/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'82c5f81c-4018-44f1-8dcb-738704fd21c4')/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'82c5f81c-4018-44f1-8dcb-738704fd21c4')/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'82c5f81c-4018-44f1-8dcb-738704fd21c4')/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'82c5f81c-4018-44f1-8dcb-738704fd21c4')/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'82c5f81c-4018-44f1-8dcb-738704fd21c4')/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'82c5f81c-4018-44f1-8dcb-738704fd21c4')/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'82c5f81c-4018-44f1-8dcb-738704fd21c4')/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'82c5f81c-4018-44f1-8dcb-738704fd21c4')/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'82c5f81c-4018-44f1-8dcb-738704fd21c4')/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'82c5f81c-4018-44f1-8dcb-738704fd21c4')/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'82c5f81c-4018-44f1-8dcb-738704fd21c4')/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'82c5f81c-4018-44f1-8dcb-738704fd21c4')/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'82c5f81c-4018-44f1-8dcb-738704fd21c4')/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'82c5f81c-4018-44f1-8dcb-738704fd21c4')/VwEmployeesHierarchyCollectionByEmployee\" />\n <title />\n <updated>2020-04-09T11:27:55Z</updated>\n <author>\n <name />\n </author>\n <content type=\"application/xml\">\n <m:properties>\n <d:Id m:type=\"Edm.Guid\">82c5f81c-4018-44f1-8dcb-738704fd21c4</d:Id>\n <d:Name>Valerie E. Murphy</d:Name>\n <d:CreatedOn m:type=\"Edm.DateTime\">2017-03-30T13:33:04Z</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:31:29Z</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\">c38d46fd-e405-491a-a508-01bb9760eecc</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\">ca49a603-57e6-df11-971b-001d60e938c6</d:JobId>\n <d:FullJobTitle>Head of marketing department</d:FullJobTitle>\n <d:OwnerId m:type=\"Edm.Guid\">76929f8c-7e15-4c64-bdb0-adc62d383727</d:OwnerId>\n <d:CareerStartDate m:type=\"Edm.DateTime\">2019-02-03T00: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\">26fffdc9-a184-47a7-a6b6-cafc9fe58327</d:ManagerId>\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 <link rel=\"http://schemas.microsoft.com/ado/2007/08/dataservices/related/CreatedBy\" type=\"application/atom+xml;type=entry\" title=\"CreatedBy\" href=\"EmployeeCollection(guid'3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb')/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'3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb')/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'3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb')/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'3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb')/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'3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb')/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'3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb')/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'3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb')/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'3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb')/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'3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb')/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'3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb')/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'3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb')/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'3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb')/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'3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb')/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'3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb')/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'3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb')/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'3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb')/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'3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb')/VwEmployeesHierarchyCollectionByEmployee\" />\n <title />\n <updated>2020-04-09T11:27:55Z</updated>\n <author>\n <name />\n </author>\n <content type=\"application/xml\">\n <m:properties>\n <d:Id m:type=\"Edm.Guid\">3e5bd47e-1ebd-41db-a9a6-a3560dcee3cb</d:Id>\n <d:Name>Peter Moore</d:Name>\n <d:CreatedOn m:type=\"Edm.DateTime\">2017-03-30T14:35:03Z</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:32:45Z</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\">8850d33c-b783-45dc-a86c-5d29f9e7c03a</d:ContactId>\n <d:OrgStructureUnitId m:type=\"Edm.Guid\">d436a9ce-9690-4415-9e03-e8061d7cabb5</d:OrgStructureUnitId>\n <d:Notes></d:Notes>\n <d:JobId m:type=\"Edm.Guid\">ca49a603-57e6-df11-971b-001d60e938c6</d:JobId>\n <d:FullJobTitle>Head of development department</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\">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\">26fffdc9-a184-47a7-a6b6-cafc9fe58327</d:ManagerId>\n </m:properties>\n </content>\n </entry>\n</feed>"
}
]
}