POST api/quarryyard/sync/reject

Request Information

URI Parameters

None.

Body Parameters

RejectSyncRequest
NameDescriptionTypeAdditional information
SyncID

integer

None.

Reason

string

None.

UserID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SyncID": 1,
  "Reason": "sample string 2",
  "UserID": 3
}

application/xml, text/xml

Sample:
<RejectSyncRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrushMateBackendAPI.Controllers">
  <Reason>sample string 2</Reason>
  <SyncID>1</SyncID>
  <UserID>3</UserID>
</RejectSyncRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RejectSyncRequest'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.