POST Setup/SyncPackage?validateOnly={validateOnly}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
validateOnly

boolean

Default value is False

Body Parameters

SyncPackageDTO
NameDescriptionTypeAdditional 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-04T08:10:10.1895021+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:10:10 AM"
  },
  "lastUpdated": {
    "dateUtc": "2024-12-04T08:10:10.1895021+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:10:10 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-04T08:10:10.1895021+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-04T08:10:10.1895021+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:
�ŐKj�0��"���H�i�Z�ɢu���<	��$F�	9Y=R�P�J��.h!���|~�x�}1��a��Zf��\�h�����;2�3�P��&�X��2j��w�#G\���pu?S˓Z
�]ƛ23p�B�[�-�����"-���c������"�k�8Tp��xk"U��~����4���l�PB�+�V"��"�[Yl7B�!�ɴOϦ�c�}��yǤZ��т]���?_E��8�,Il�H

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.