POST api/Project/GetProject

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Draw

integer

None.

Start

integer

None.

Length

integer

None.

Order

Collection of DataTableOrder

None.

Columns

Collection of DataTableColumn

None.

Search

DataTableSearch

None.

Body Parameters

ProjectModel
NameDescriptionTypeAdditional information
UserID

integer

None.

ProjectID

integer

None.

searchTitle

string

None.

SearchCriteria

string

None.

Price

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "userID": 1,
  "projectID": 1,
  "searchTitle": "sample string 1",
  "searchCriteria": "sample string 2",
  "price": 1
}

application/xml, text/xml

Sample:
<ProjectModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SelfHub.API.Models">
  <Price>1</Price>
  <ProjectID>1</ProjectID>
  <SearchCriteria>sample string 2</SearchCriteria>
  <UserID>1</UserID>
  <searchTitle>sample string 1</searchTitle>
</ProjectModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DataTableResponse
NameDescriptionTypeAdditional information
start

integer

None.

draw

integer

None.

recordsTotal

integer

None.

recordsFiltered

integer

None.

data

Collection of Object

None.

error

string

None.

StatusCode

string

None.

Response Formats

application/json, text/json

Sample:
{
  "start": 1,
  "draw": 2,
  "recordsTotal": 3,
  "recordsFiltered": 4,
  "data": [
    {},
    {}
  ],
  "error": "sample string 5",
  "statusCode": "sample string 6"
}

application/xml, text/xml

Sample:
<DataTableResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SelfHub.API.Common">
  <StatusCode>sample string 6</StatusCode>
  <data xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:anyType />
    <d2p1:anyType />
  </data>
  <draw>2</draw>
  <error>sample string 5</error>
  <recordsFiltered>4</recordsFiltered>
  <recordsTotal>3</recordsTotal>
  <start>1</start>
</DataTableResponse>