POST api/v1/CollectionRequest/COL_CR_POST_RequestRecurringCR

Request a recurring Collection Request

Request Information

URI Parameters

None.

Body Parameters

Recurring Collection Request Object

RecurringCollectionRequestPostModel
NameDescriptionTypeAdditional information
entityid

globally unique identifier

None.

locationid

integer

None.

requestmessage

string

None.

Request Formats

application/json, text/json

Sample:
{
  "entityid": "3a0cfb2e-428b-45a2-9c39-4fe28352665e",
  "locationid": 1,
  "requestmessage": "sample string 2"
}

application/xml, text/xml

Sample:
<RecurringCollectionRequestPostModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/nfuels_sharedmodels.Models.CollectionRequest">
  <entityid>3a0cfb2e-428b-45a2-9c39-4fe28352665e</entityid>
  <locationid>1</locationid>
  <requestmessage>sample string 2</requestmessage>
</RecurringCollectionRequestPostModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

New APIPostResult. If response code is OK, the Id contains the newly inserted id of the request. If an error occurred, the message field will contain an error message.

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.