POST api/FinancesSap/Others

Request Information

URI Parameters

None.

Body Parameters

OthersQueryModel
NameDescriptionTypeAdditional information
CompanyCode

string

None.

Customer

string

None.

KeyDateLow

date

None.

KeyDateHigh

date

None.

Filters

Filters

None.

Request Formats

application/json, text/json

Sample:
{
  "CompanyCode": "sample string 1",
  "Customer": "sample string 2",
  "KeyDateLow": "2026-05-08T21:47:45.7633522+03:00",
  "KeyDateHigh": "2026-05-08T21:47:45.7633522+03:00",
  "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:
<OthersQueryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ugur.RestApi2.Models">
  <CompanyCode>sample string 1</CompanyCode>
  <Customer>sample string 2</Customer>
  <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>
  <KeyDateHigh>2026-05-08T21:47:45.7633522+03:00</KeyDateHigh>
  <KeyDateLow>2026-05-08T21:47:45.7633522+03:00</KeyDateLow>
</OthersQueryModel>

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

Response Information

Resource Description

TResultOfDictionaryOfStringAndDataTable
NameDescriptionTypeAdditional information
RecordCount

integer

None.

IsSuccessful

boolean

None.

Message

string

None.

Data

Dictionary of string [key] and DataTable [value]

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": {
    "sample string 1": null,
    "sample string 2": []
  },
  "DynamicProperty": {
    "sample string 1": {},
    "sample string 3": {}
  }
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Cannot serialize the DataTable. DataTable name is not set.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Cannot serialize the DataTable. DataTable name is not set.