This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<table border="0" cellspacing="0" cellpadding="1" class="ms-listviewtable"> | |
<thead> | |
<tr valign="top" class="ms-viewheadertr ms-vhltr"> | |
<th scope="col" style="max-width: 500px" class="ms-vh2"> | |
<div displayname="Title" class="ms-vh-div"> | |
<a class="ms-headerSortTitleLink">Title</a> | |
</div> | |
</th> | |
<th scope="col" style="max-width: 500px" class="ms-vh2"> | |
<div displayname="Title" class="ms-vh-div"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div style="padding-left:5px;"> | |
<table class="ms-core-tableNoSpace"> | |
<tbody> | |
<tr> | |
<td> | |
<div class="ms-webpart-zone ms-fullWidth"> | |
<div class="s4-wpcell-plain ms-webpartzone-cell ms-webpart-cell-vertical ms-fullWidth"> | |
<div class="ms-webpart-chrome ms-webpart-chrome-vertical ms-webpart-chrome-fullWidth"> | |
<div width="100%" class="noindex"> | |
<table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<SPIntegratedWorkflow xmlns="http://schemas.microsoft.com/sharepoint/2014/app/integratedworkflow"> | |
<IntegratedApp>true</IntegratedApp> | |
</SPIntegratedWorkflow> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface IAppDeploymentServiceReceiver { | |
public AppDeploymentServiceResult DeployApp(AppDeploymentManifest manifest, | |
AppProperties props) { | |
var result = new AppDeploymentServiceResult(); | |
// set result | |
return result; | |
} | |
} | |
public class AppDeploymentServiceResult { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HTTP/1.1 200 OK | |
Cache-Control: private, max-age=0 | |
Content-Type: multipart/mixed; boundary=batchresponse_4cc2e5b3-bf5b-42d7-9de3-9a381313d178 | |
Expires: Sat, 15 Nov 2014 12:56:24 GMT | |
Last-Modified: Sun, 30 Nov 2014 12:56:24 GMT | |
Server: Microsoft-IIS/7.5 | |
Set-Cookie: rtFa=tuVED+yNm9wcX/FhwoP4LWBIKTDdkU57FJQFUXDB1HxxIOrPF9UmWGJK8MVlRWuyRhJtagkeIb0pEXuAse2dC1/5o/af/PZO9gWU4QGu7hkePjAytr5+owuHuWBwX7kpkGglQn541INJB4Z1g1xKJGuDvtyA8XIJLv0m/ZrhQQbhc6/jz3LsriZs9Amy+fV3iDSHgdBLZ+Y89khmU2G+qwVcZQqJvBC0Yp0pJrYbj58QY5KldnzEBUwo6GTMruGkdQxFgPWHt/G4EKCeilSyHfvg8V2HK6TAKFo7K9zWwCopntObFEpy45Eumke/RVDFSyd5BlI/KhhEFszw9dCzqR/EIWHQAV0uBxcWsKlou7LaHo/tSN03W3vFwb1rIFiZIAAAAA==; domain=sharepoint.com; path=/; HttpOnly | |
Set-Cookie: FedAuth=77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48U1A+RmFsc2UsMGguZnxtZW1iZXJzaGlwfDEwMDM3ZmZlODBjYjNkNjJAbGl2ZS5jb20sMCMuZnxtZW1iZXJzaGlwfG1lQGFuZHJld2Nvbm5lbGwuY29tLDEzMDYyMjU3NjYxMjkxNTAwNCxGYWxzZSxrL3IxRXN3WG1RMk1rYmY0eFhQWXZoUVZ0clBnTWcwZVo0NTh4aDErd3RwbFk5L1RIYXFObUtuaW1BZThDMzh0b3hLNmdSSU |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HTTP/1.1 200 OK | |
Cache-Control: private, max-age=0 | |
Transfer-Encoding: chunked | |
Content-Type: multipart/mixed; boundary=batchresponse_924c62ae-c627-46ca-9fa9-e7a01b54ace5 | |
Expires: Sat, 15 Nov 2014 12:56:27 GMT | |
Last-Modified: Sun, 30 Nov 2014 12:56:27 GMT | |
Server: Microsoft-IIS/7.5 | |
Set-Cookie: rtFa=tuVED+yNm9wcX/FhwoP4LWBIKTDdkU57FJQFUXDB1HxxIOrPF9UmWGJK8MVlRWuyRhJtagkeIb0pEXuAse2dC1/5o/af/PZO9gWU4QGu7hkePjAytr5+owuHuWBwX7kpkGglQn541INJB4Z1g1xKJGuDvtyA8XIJLv0m/ZrhQQbhc6/jz3LsriZs9Amy+fV3iDSHgdBLZ+Y89khmU2G+qwVcZQqJvBC0Yp0pJrYbj58QY5KldnzEBUwo6GTMruGkdQxFgPWHt/G4EKCeilSyHfvg8V2HK6TAKFo7K9zWwCopntObFEpy45Eumke/RVDFSyd5BlI/KhhEFszw9dCzqR/EIWHQAV0uBxcWsKlou7LaHo/tSN03W3vFwb1rIFiZIAAAAA==; domain=sharepoint.com; path=/; HttpOnly | |
Set-Cookie: FedAuth=77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48U1A+RmFsc2UsMGguZnxtZW1iZXJzaGlwfDEwMDM3ZmZlODBjYjNkNjJAbGl2ZS5jb20sMCMuZnxtZW1iZXJzaGlwfG1lQGFuZHJld2Nvbm5lbGwuY29tLDEzMDYyMjU3NjYxMjkxNTAwNCxGYWxzZSxrL3IxRXN3WG1RMk1rYmY0eFhQWXZoUVZ0clBnTWcwZVo0NTh4aDErd3RwbFk5L1RIYXF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HTTP/1.1 200 OK | |
Cache-Control: private, max-age=0 | |
Content-Type: multipart/mixed; boundary=batchresponse_3458ed7e-936a-4e8f-9276-d08ee42e805f | |
Expires: Sat, 22 Nov 2014 11:04:49 GMT | |
Last-Modified: Sun, 07 Dec 2014 11:04:49 GMT | |
Server: Microsoft-IIS/7.5 | |
Set-Cookie: rtFa=tuVED+yNm9wcX/FhwoP4LWBIKTDdkU57FJQFUXDB1HxxIOrPF9UmWGJK8MVlRWuyRhJtagkeIb0pEXuAse2dC1/5o/af/PZO9gWU4QGu7hkePjAytr5+owuHuWBwX7kpkGglQn541INJB4Z1g1xKJGuDvtyA8XIJLv0m/ZrhQQbhc6/jz3LsriZs9Amy+fV3iDSHgdBLZ+Y89khmU2G+qwVcZQqJvBC0Yp0pJrYbj58QY5KldnzEBUwo6GTMruGkdQxFgPWHt/G4EKCeilSyHfvg8V2HK6TAKFo7K9zWwCopntObFEpy45Eumke/RVDFSyd5BlI/KhhEFszw9dCzqR/EIWHQAV0uBxcWsKlou7LaHo/tSN03W3vFwb1rIFiZIAAAAA==; domain=sharepoint.com; path=/; HttpOnly | |
Set-Cookie: FedAuth=77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48U1A+RmFsc2UsMGguZnxtZW1iZXJzaGlwfDEwMDM3ZmZlODBjYjNkNjJAbGl2ZS5jb20sMCMuZnxtZW1iZXJzaGlwfG1lQGFuZHJld2Nvbm5lbGwuY29tLDEzMDYyODU1Mjg0MjYzNTcwMyxGYWxzZSxNNGtSdUhncXIyekFyS3A2SDF5dU9xeTlVUHRpbzZhOEdTeXRnK29Icm5hVzdGR2tsV1pYbm5WWXg4YTJ1aUVEUThpditDNk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HttpClient client = new HttpClient(); | |
// create the endpoint | |
StringBuilder requestUri = new StringBuilder(ServiceResourceId) | |
.Append("/_api/web/lists/getbytitle('Tasks')/items") | |
.Append("?$select=Id,Title,Status,Priority,AssignedTo/Name&$expand=AssignedTo"); | |
// crete the request | |
HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Get, requestUri.ToString()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
XNamespace a = "http://www.w3.org/2005/Atom"; | |
XNamespace d = "http://schemas.microsoft.com/ado/2007/08/dataservices"; | |
XNamespace m = "http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"; | |
XElement root = XElement.Parse(responseString); | |
List<Task> tasks = new List<Task>(); | |
foreach (XElement entryElement in root.Elements(a + "entry")) | |
{ | |
Task task = new Task(); | |
task.Id = entryElement.Descendants(m + "properties").Descendants(d + "Id").First().Value; |
OlderNewer