Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
POST https://platinumdogsconsulting.sharepoint.com/sites/hubsitetest/_api/site/GetCopyJobProgress
HEADERS
{
accept: application/json;odata=verbose
content-type: application/json; odata=verbose
}
BODY
{
"copyJobInfo": {
"EncryptionKey": "6YIOwbP9/TSLiw6D0H+mvsiRbgjSvJLs5L28Pfx/0BQ=",
"JobId": "d0a42793-f995-4ce2-b0fb-cc3c0e819e19",
"JobQueueUri": "https://spodb1am1m025pr.queue.core.windows.net:443/1217pq20190522-d6b14cff5d28495b83e38b66e3c96c60?sv=2017-07-29&sig=PZQnN9zfInHrH8fbJkm7r77FeWJePHFyb4K6Q3GMmuA%3D&st=2019-05-21T07%3A00%3A00Z&se=2019-06-12T07%3A00%3A00Z&sp=rap",
"SourceListItemUniqueIds": {
"__metadata": {
"type": "Collection(Edm.Guid)"
},
"results": [
"208875e4-2659-433d-acd8-4d77fc76e1ef"
]
}
}
}
RESPONSE
{
"d": {
"GetCopyJobProgress": {
"__metadata": {
"type": "SP.CopyJobProgress"
},
"JobState": 4,
"Logs": {
"__metadata": {
"type": "Collection(Edm.String)"
},
"results": [
"{\r\n \"Event\": \"JobQueued\",\r\n \"JobId\": \"d0a42793-f995-4ce2-b0fb-cc3c0e819e19\",\r\n \"Time\": \"05/22/2019 17:21:35.507\",\r\n \"SiteId\": \"814e8f10-0c1f-4d37-b0cc-59cd2e1338d1\",\r\n \"DbId\": \"6447ddad-0450-46a6-a91d-9afb952242f6\",\r\n \"TotalRetryCount\": \"0\",\r\n \"MigrationType\": \"Copy\",\r\n \"MigrationDirection\": \"Export\",\r\n \"CorrelationId\": \"cd2bdf9e-7054-8000-c44b-a717e9a7cfad\"\r\n}",
"{\r\n \"Event\": \"JobStart\",\r\n \"JobId\": \"d0a42793-f995-4ce2-b0fb-cc3c0e819e19\",\r\n \"Time\": \"05/22/2019 17:21:36.007\",\r\n \"SiteId\": \"814e8f10-0c1f-4d37-b0cc-59cd2e1338d1\",\r\n \"WebId\": \"00000000-0000-0000-0000-000000000000\",\r\n \"DBId\": \"6447ddad-0450-46a6-a91d-9afb952242f6\",\r\n \"FarmId\": \"8156c430-ea9b-4a08-aaed-85305f876599\",\r\n \"ServerId\": \"958380b7-2569-42a7-870d-d6276751b42e\",\r\n \"SubscriptionId\": \"f1a23d2f-d11b-4d03-8b2c-98225bbf3165\",\r\n \"TotalRetryCount\": \"0\",\r\n \"MigrationType\": \"Copy\",\r\n \"MigrationDirection\": \"Export\",\r\n \"CorrelationId\": \"cd2bdf9e-f0ba-8000-c44b-a06033341e83\"\r\n}"
]
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.