POST api/v{version}/archives/servicerequests/page?OrderBy={OrderBy}&Order={Order}&Size={Size}&Index={Index}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
OrderBy

string

None.

Order

string

None.

Size

integer

Range: inclusive between -1 and 1000

Index

integer

Range: inclusive between 0 and 2147483647

version

string

None.

Body Parameters

ArchiveGetArchivedServiceRequestModel
NameDescriptionTypeAdditional information
Vehicle

Collection of integer

None.

Service

Collection of CategoryServicePairForBinding

None.

Business

Collection of integer

None.

Status

Collection of byte

None.

StartAt

integer

None.

EndAt

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Vehicle": [
    1,
    2
  ],
  "Service": [
    {
      "CategoryId": 1,
      "Service": [
        1,
        2
      ]
    },
    {
      "CategoryId": 1,
      "Service": [
        1,
        2
      ]
    }
  ],
  "Business": [
    1,
    2
  ],
  "Status": [
    64,
    64
  ],
  "StartAt": 1,
  "EndAt": 1
}

application/xml, text/xml

Sample:
<ArchiveGetArchivedServiceRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FastFixCore.BindingModels.Archive">
  <Business xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Business>
  <EndAt>1</EndAt>
  <Service>
    <CategoryServicePairForBinding>
      <CategoryId>1</CategoryId>
      <Service xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </Service>
    </CategoryServicePairForBinding>
    <CategoryServicePairForBinding>
      <CategoryId>1</CategoryId>
      <Service xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </Service>
    </CategoryServicePairForBinding>
  </Service>
  <StartAt>1</StartAt>
  <Status xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:unsignedByte>64</d2p1:unsignedByte>
    <d2p1:unsignedByte>64</d2p1:unsignedByte>
  </Status>
  <Vehicle xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Vehicle>
</ArchiveGetArchivedServiceRequestModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.