POST api/bookkeepings/setstatus

Sets status on a bookkeeping. The following statusses are accepted: "IntegratedExportPending": Used to add a status message to the bookkeeping. "IntegratedExportFailed": Used if the file is rejected for some reason. The file will now no longer be downloadable. "IntegratedExportDone": Used if the file is accepted. The file will now no longer be downloadable.

Request Information

URI Parameters

None.

Body Parameters

SetBookkeepingStatusViewModel
NameDescriptionTypeAdditional information
BookkeepingId

integer

Required

Status

string

Required

Text

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BookkeepingId": 1,
  "Status": "sample string 2",
  "Text": "sample string 3"
}

application/xml, text/xml

Sample:
<SetBookkeepingStatusViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpeedadminApi.ViewModels">
  <BookkeepingId>1</BookkeepingId>
  <Status>sample string 2</Status>
  <Text>sample string 3</Text>
</SetBookkeepingStatusViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.