PUT Setup/SyncPackage/{syncPackageID}?validateOnly={validateOnly}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
syncPackageID | integer |
Required |
|
validateOnly | boolean |
Default value is False |
Body Parameters
SyncPackageDTOName | Description | Type | Additional information |
---|---|---|---|
SyncPackageID | integer |
None. |
|
Type | string |
None. |
|
Status | SyncStatus |
None. |
|
IsOrderOfOperationImportant | boolean |
None. |
|
PackageInfo | string |
None. |
|
DeviceInfo | string |
None. |
|
Data | string |
None. |
|
ResultData | string |
None. |
|
ErrorData | string |
None. |
|
RecordState | RecordState |
None. |
|
CreatedByUserID | integer |
None. |
|
LastUpdatedByUserID | integer |
None. |
|
Created | AuditDataDTO |
None. |
|
LastUpdated | AuditDataDTO |
None. |
Request Formats
application/json, text/json
Sample:
{ "syncPackageID": 1, "type": "sample string 2", "status": 1, "isOrderOfOperationImportant": true, "packageInfo": "sample string 4", "deviceInfo": "sample string 5", "data": "sample string 6", "resultData": "sample string 7", "errorData": "sample string 8", "recordState": 1, "createdByUserID": 9, "lastUpdatedByUserID": 1, "created": { "dateUtc": "2024-12-04T07:44:43.601219+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:44:43 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T07:44:43.601219+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:44:43 AM" } }
application/xml, text/xml
Sample:
<SyncPackageDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models"> <Created> <DateUtc>2024-12-04T07:44:43.601219+00:00</DateUtc> <UserName>sample string 2</UserName> </Created> <CreatedByUserID>9</CreatedByUserID> <Data>sample string 6</Data> <DeviceInfo>sample string 5</DeviceInfo> <ErrorData>sample string 8</ErrorData> <IsOrderOfOperationImportant>true</IsOrderOfOperationImportant> <LastUpdated> <DateUtc>2024-12-04T07:44:43.601219+00:00</DateUtc> <UserName>sample string 2</UserName> </LastUpdated> <LastUpdatedByUserID>1</LastUpdatedByUserID> <PackageInfo>sample string 4</PackageInfo> <RecordState>Active</RecordState> <ResultData>sample string 7</ResultData> <Status>Pending</Status> <SyncPackageID>1</SyncPackageID> <Type>sample string 2</Type> </SyncPackageDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/x-compressed-json
Sample:
� ŐKN�0��byKJcZ���. H�Xδ�Hlk<A����G� 8Q%T%��������>��;�j�9�n�u�q�pͣiC,���$�x$C]w�X`X� h��n��dqM�A��Y���DM%� >k;��l�L�*��5������,}?[��[*c����/#�����D*Cu�����q%�d!�T�\.�zk��Vw�+��|s#�"yvI�Ŵ�ܴk[���1�X.�j98��4{|構�WOs�ES�PF
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |