POST api/DIG/Task/Result/{templateName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
templateName

string

Required

Body Parameters

structTaskCompletionResult
NameDescriptionTypeAdditional information
timestamp

string

None.

timestampFormated

string

None.

status_file

string

None.

log_file

string

None.

pid

integer

None.

status

string

None.

details

string

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Error getting value from 'timestampFormated' on 'ReatinosWebAPI.Controllers.DigManagementController+structTaskCompletionResult'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Error getting value from 'timestampFormated' on 'ReatinosWebAPI.Controllers.DigManagementController+structTaskCompletionResult'.

text/html

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/html'. Exception message: Error getting value from 'timestampFormated' on 'ReatinosWebAPI.Controllers.DigManagementController+structTaskCompletionResult'.

application/xml, text/xml

Sample:
<DigManagementController.structTaskCompletionResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ReatinosWebAPI.Controllers">
  <details>sample string 6</details>
  <log_file>sample string 3</log_file>
  <pid>4</pid>
  <status>sample string 5</status>
  <status_file>sample string 2</status_file>
  <timestamp>sample string 1</timestamp>
</DigManagementController.structTaskCompletionResult>

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 'structTaskCompletionResult'.

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.