Skip to content

Instantly share code, notes, and snippets.

@NBibikov
Last active July 3, 2018 08:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NBibikov/6382e7f0f7e3285c2a3395911cac3f2a to your computer and use it in GitHub Desktop.
Save NBibikov/6382e7f0f7e3285c2a3395911cac3f2a to your computer and use it in GitHub Desktop.
GET https://us05-mobile.ad2.softwarium.net/MobileCRMService.svc/getcrmdata
mobile_request_organization: ...
mobile_request_user: ...
mobile_request_body:
<?xml version="1.0" encoding="UTF-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<Execute xmlns="http://schemas.microsoft.com/xrm/2011/Contracts/Services" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<request xmlns:a="http://schemas.microsoft.com/xrm/2011/Contracts" i:type="a:RetrieveMultipleRequest">
<a:Parameters xmlns:b="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
<a:KeyValuePairOfstringanyType>
<b:key>Query</b:key>
<b:value i:type="a:QueryExpression">
<a:ColumnSet>
<a:AllColumns>false</a:AllColumns>
<a:Columns xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<c:string>eam_name</c:string>
<c:string>eam_site</c:string>
</a:Columns>
</a:ColumnSet>
<a:Criteria>
<a:Conditions>
<a:ConditionExpression>
<a:AttributeName>eam_location_type</a:AttributeName>
<a:Operator i:type="a:ConditionOperator">Equal</a:Operator>
<a:Values xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<c:anyType xmlns:d="http://www.w3.org/2001/XMLSchema" i:type="d:int">100000001</c:anyType>
</a:Values>
</a:ConditionExpression>
<a:ConditionExpression>
<a:AttributeName>statecode</a:AttributeName>
<a:Operator i:type="a:ConditionOperator">Equal</a:Operator>
<a:Values xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<c:anyType xmlns:d="http://www.w3.org/2001/XMLSchema" i:type="d:int">0</c:anyType>
</a:Values>
</a:ConditionExpression>
</a:Conditions>
<a:FilterOperator>And</a:FilterOperator>
<a:Filters />
</a:Criteria>
<a:Distinct>false</a:Distinct>
<a:EntityName>eam_location</a:EntityName>
<a:PageInfo>
<a:Count>200</a:Count>
<a:PageNumber>1</a:PageNumber>
<a:PagingCookie i:nil="true" />
<a:ReturnTotalRecordCount>false</a:ReturnTotalRecordCount>
</a:PageInfo>
<a:NoLock>true</a:NoLock>
</b:value>
</a:KeyValuePairOfstringanyType>
</a:Parameters>
<a:RequestId i:nil="true" />
<a:RequestName>RetrieveMultiple</a:RequestName>
</request>
</Execute>
</s:Body>
</s:Envelope>
@NBibikov
Copy link
Author

NBibikov commented Jul 3, 2018

Отримання всіх storerooms в material reservations для фільтрації по storerooms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment