POST api/TYS/GetInventoryItem

Request Information

URI Parameters

None.

Body Parameters

GetInventoryItemQueryModel
NameDescriptionTypeAdditional information
DemirbasNo

string

None.

SeriNo

string

None.

SiraNo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DemirbasNo": "sample string 1",
  "SeriNo": "sample string 2",
  "SiraNo": "sample string 3"
}

application/xml, text/xml

Sample:
<GetInventoryItemQueryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ugur.RestApi2.Models">
  <DemirbasNo>sample string 1</DemirbasNo>
  <SeriNo>sample string 2</SeriNo>
  <SiraNo>sample string 3</SiraNo>
</GetInventoryItemQueryModel>

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

Response Information

Resource Description

TResultOfListOfBAPIRETURN
NameDescriptionTypeAdditional information
RecordCount

integer

None.

IsSuccessful

boolean

None.

Message

string

None.

Data

Collection of BAPIRETURN

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": [
    {
      "TYPE": "sample string 1",
      "CODE": "sample string 2",
      "MESSAGE": "sample string 3",
      "LOG_NO": "sample string 4",
      "LOG_MSG_NO": 5,
      "MESSAGE_V1": "sample string 6",
      "MESSAGE_V2": "sample string 7",
      "MESSAGE_V3": "sample string 8",
      "MESSAGE_V4": "sample string 9"
    },
    {
      "TYPE": "sample string 1",
      "CODE": "sample string 2",
      "MESSAGE": "sample string 3",
      "LOG_NO": "sample string 4",
      "LOG_MSG_NO": 5,
      "MESSAGE_V1": "sample string 6",
      "MESSAGE_V2": "sample string 7",
      "MESSAGE_V3": "sample string 8",
      "MESSAGE_V4": "sample string 9"
    }
  ],
  "DynamicProperty": {
    "sample string 1": {},
    "sample string 3": {}
  }
}

application/xml, text/xml

Sample:
<TResultOfArrayOfBAPIRETURNNYU2z2fs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GM.SAP.Models">
  <Data>
    <BAPIRETURN>
      <CODE>sample string 2</CODE>
      <LOG_MSG_NO>5</LOG_MSG_NO>
      <LOG_NO>sample string 4</LOG_NO>
      <MESSAGE>sample string 3</MESSAGE>
      <MESSAGE_V1>sample string 6</MESSAGE_V1>
      <MESSAGE_V2>sample string 7</MESSAGE_V2>
      <MESSAGE_V3>sample string 8</MESSAGE_V3>
      <MESSAGE_V4>sample string 9</MESSAGE_V4>
      <TYPE>sample string 1</TYPE>
    </BAPIRETURN>
    <BAPIRETURN>
      <CODE>sample string 2</CODE>
      <LOG_MSG_NO>5</LOG_MSG_NO>
      <LOG_NO>sample string 4</LOG_NO>
      <MESSAGE>sample string 3</MESSAGE>
      <MESSAGE_V1>sample string 6</MESSAGE_V1>
      <MESSAGE_V2>sample string 7</MESSAGE_V2>
      <MESSAGE_V3>sample string 8</MESSAGE_V3>
      <MESSAGE_V4>sample string 9</MESSAGE_V4>
      <TYPE>sample string 1</TYPE>
    </BAPIRETURN>
  </Data>
  <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>
</TResultOfArrayOfBAPIRETURNNYU2z2fs>