POST api/ODataV4/GetGeneralTables

Request Information

URI Parameters

None.

Body Parameters

ApiRequest
NameDescriptionTypeAdditional information
Where

Collection of Dictionary of string [key] and Object [value]

None.

Company

string

None.

Environment

string

None.

EndPoint

string

None.

Scope

string

None.

Type

string

None.

Arguments

Collection of Dictionary of string [key] and Object [value]

None.

IsArray

boolean

None.

TypedFilters

Collection of Filter

None.

Request Formats

application/json, text/json

Sample:
{
  "Where": [
    {
      "sample string 1": {},
      "sample string 3": {}
    },
    {
      "sample string 1": {},
      "sample string 3": {}
    }
  ],
  "Company": "sample string 1",
  "Environment": "sample string 2",
  "EndPoint": "sample string 3",
  "Scope": "sample string 4",
  "Type": "sample string 5",
  "Arguments": [
    {
      "sample string 1": {},
      "sample string 3": {}
    },
    {
      "sample string 1": {},
      "sample string 3": {}
    }
  ],
  "IsArray": false,
  "TypedFilters": [
    {
      "CustomCheckTag": "sample string 1",
      "AnswerValue": "sample string 2"
    },
    {
      "CustomCheckTag": "sample string 1",
      "AnswerValue": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<ApiRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DFV_BC">
  <Arguments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:ArrayOfKeyValueOfstringanyType>
      <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>
    </d2p1:ArrayOfKeyValueOfstringanyType>
    <d2p1:ArrayOfKeyValueOfstringanyType>
      <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>
    </d2p1:ArrayOfKeyValueOfstringanyType>
  </Arguments>
  <Company>sample string 1</Company>
  <EndPoint>sample string 3</EndPoint>
  <Environment>sample string 2</Environment>
  <Scope>sample string 4</Scope>
  <Type>sample string 5</Type>
  <Where xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:ArrayOfKeyValueOfstringanyType>
      <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>
    </d2p1:ArrayOfKeyValueOfstringanyType>
    <d2p1:ArrayOfKeyValueOfstringanyType>
      <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>
    </d2p1:ArrayOfKeyValueOfstringanyType>
  </Where>
</ApiRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of GeneralTables
NameDescriptionTypeAdditional information
TableCode

string

None.

TableCode02

string

None.

Code

string

None.

Description

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "TableCode": "sample string 1",
    "TableCode02": "sample string 2",
    "Code": "sample string 3",
    "Description": "sample string 4"
  },
  {
    "TableCode": "sample string 1",
    "TableCode02": "sample string 2",
    "Code": "sample string 3",
    "Description": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfGeneralTables xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BCCONNECTOR.Models">
  <GeneralTables>
    <Code>sample string 3</Code>
    <Description>sample string 4</Description>
    <TableCode>sample string 1</TableCode>
    <TableCode02>sample string 2</TableCode02>
  </GeneralTables>
  <GeneralTables>
    <Code>sample string 3</Code>
    <Description>sample string 4</Description>
    <TableCode>sample string 1</TableCode>
    <TableCode02>sample string 2</TableCode02>
  </GeneralTables>
</ArrayOfGeneralTables>