GET api/SapMainData/GetCustomerInfo

Request Information

URI Parameters

None.

Body Parameters

PagedFilter
NameDescriptionTypeAdditional information
StartPos

integer

None.

EndPos

integer

None.

Filters

Filters

None.

Request Formats

application/json, text/json

Sample:
{
  "StartPos": 1,
  "EndPos": 2,
  "Filters": {
    "List": [
      {
        "Field": "sample string 1",
        "Low": "sample string 2",
        "High": "sample string 3",
        "Opera": 0
      },
      {
        "Field": "sample string 1",
        "Low": "sample string 2",
        "High": "sample string 3",
        "Opera": 0
      }
    ]
  }
}

application/xml, text/xml

Sample:
<PagedFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ugur.RestApi2.Models">
  <EndPos>2</EndPos>
  <Filters xmlns:d2p1="http://schemas.datacontract.org/2004/07/GM.SAP.Models">
    <d2p1:List>
      <d2p1:Filter>
        <d2p1:Field>sample string 1</d2p1:Field>
        <d2p1:High>sample string 3</d2p1:High>
        <d2p1:Low>sample string 2</d2p1:Low>
        <d2p1:Opera>EQUAL</d2p1:Opera>
      </d2p1:Filter>
      <d2p1:Filter>
        <d2p1:Field>sample string 1</d2p1:Field>
        <d2p1:High>sample string 3</d2p1:High>
        <d2p1:Low>sample string 2</d2p1:Low>
        <d2p1:Opera>EQUAL</d2p1:Opera>
      </d2p1:Filter>
    </d2p1:List>
  </Filters>
  <StartPos>1</StartPos>
</PagedFilter>

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

Response Information

Resource Description

TResultOfDataTable
NameDescriptionTypeAdditional information
RecordCount

integer

None.

IsSuccessful

boolean

None.

Message

string

None.

Data

DataTable

None.

DynamicProperty

Dictionary of string [key] and Object [value]

None.

Response Formats

application/json, text/json

Sample:
{
  "RecordCount": 1,
  "IsSuccessful": true,
  "Message": "sample string 3",
  "Data": null,
  "DynamicProperty": {
    "sample string 1": {},
    "sample string 3": {}
  }
}

application/xml, text/xml

Sample:
<TResultOfDataTableymujubN2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GM.SAP.Models">
  <Data i:nil="true" />
  <DynamicProperty xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringanyType>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value />
    </d2p1:KeyValueOfstringanyType>
    <d2p1:KeyValueOfstringanyType>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value />
    </d2p1:KeyValueOfstringanyType>
  </DynamicProperty>
  <IsSuccessful>true</IsSuccessful>
  <Message>sample string 3</Message>
  <RecordCount>1</RecordCount>
</TResultOfDataTableymujubN2>