POST api/Services/PurchaseList

Request Information

URI Parameters

None.

Body Parameters

DataPagingEntity
NameDescriptionTypeAdditional information
ProfileId

string

None.

PageNumber

integer

None.

TotalPages

integer

None.

StartPageNumber

integer

None.

EndPageNumber

integer

None.

TotalRecords

integer

None.

StartRecord

integer

None.

EndRecord

integer

None.

PageSize

integer

None.

PageUrl

string

None.

AjaxUrl

string

None.

Incidentstatus

integer

None.

SortingColumn

string

None.

SortingOrder

SortingOrder

None.

SearchText

string

None.

TempData

integer

None.

CurrentUserid

integer

None.

CurrentRoleId

integer

None.

SearchParameterSTR

string

None.

Date

string

None.

ControlId

string

None.

SearchParameter

Dictionary of string [key] and string [value]

None.

Request Formats

application/json, text/json

Sample:
{
  "ProfileId": "sample string 1",
  "PageNumber": 2,
  "TotalPages": 3,
  "StartPageNumber": 4,
  "EndPageNumber": 5,
  "TotalRecords": 6,
  "StartRecord": 7,
  "EndRecord": 8,
  "PageSize": 9,
  "PageUrl": "sample string 10",
  "AjaxUrl": "sample string 11",
  "Incidentstatus": 12,
  "SortingColumn": "sample string 13",
  "SortingOrder": 1,
  "SearchText": "sample string 14",
  "TempData": 15,
  "CurrentUserid": 16,
  "CurrentRoleId": 17,
  "SearchParameterSTR": "sample string 18",
  "Date": "sample string 19",
  "ControlId": "sample string 20",
  "SearchParameter": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  }
}

text/html, multipart/form-data

Sample:
{"ProfileId":"sample string 1","PageNumber":2,"TotalPages":3,"StartPageNumber":4,"EndPageNumber":5,"TotalRecords":6,"StartRecord":7,"EndRecord":8,"PageSize":9,"PageUrl":"sample string 10","AjaxUrl":"sample string 11","Incidentstatus":12,"SortingColumn":"sample string 13","SortingOrder":1,"SearchText":"sample string 14","TempData":15,"CurrentUserid":16,"CurrentRoleId":17,"SearchParameterSTR":"sample string 18","Date":"sample string 19","ControlId":"sample string 20","SearchParameter":{"sample string 1":"sample string 2","sample string 3":"sample string 4"}}

application/xml, text/xml

Sample:
<DataPagingEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entity">
  <AjaxUrl>sample string 11</AjaxUrl>
  <ControlId>sample string 20</ControlId>
  <CurrentRoleId>17</CurrentRoleId>
  <CurrentUserid>16</CurrentUserid>
  <Date>sample string 19</Date>
  <EndPageNumber>5</EndPageNumber>
  <EndRecord>8</EndRecord>
  <Incidentstatus>12</Incidentstatus>
  <PageNumber>2</PageNumber>
  <PageSize>9</PageSize>
  <PageUrl>sample string 10</PageUrl>
  <ProfileId>sample string 1</ProfileId>
  <SearchParameter xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </SearchParameter>
  <SearchParameterSTR>sample string 18</SearchParameterSTR>
  <SearchText>sample string 14</SearchText>
  <SortingColumn>sample string 13</SortingColumn>
  <SortingOrder>Ascending</SortingOrder>
  <StartPageNumber>4</StartPageNumber>
  <StartRecord>7</StartRecord>
  <TempData>15</TempData>
  <TotalPages>3</TotalPages>
  <TotalRecords>6</TotalRecords>
</DataPagingEntity>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APIResponce
NameDescriptionTypeAdditional information
Status

string

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": "sample string 1",
  "Message": "sample string 2",
  "Data": {}
}

text/html, multipart/form-data

Sample:
{"Status":"sample string 1","Message":"sample string 2","Data":{}}

application/xml, text/xml

Sample:
<APIResponce xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Controllers">
  <Data />
  <Message>sample string 2</Message>
  <Status>sample string 1</Status>
</APIResponce>