POST api/B2bSap/GetItemPartsByItemcodeOrByItemSerial

Request Information

URI Parameters

None.

Body Parameters

ItemPartsByItemcodeOrByItemSerialQueryModel
NameDescriptionTypeAdditional information
SeriNo

string

None.

StokKodu

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SeriNo": "sample string 1",
  "StokKodu": "sample string 2"
}

application/xml, text/xml

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

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

Response Information

Resource Description

TResultOfZUSMM_FG007_006_EXPORT
NameDescriptionTypeAdditional information
RecordCount

integer

None.

IsSuccessful

boolean

None.

Message

string

None.

Data

ZUSMM_FG007_006_EXPORT

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": {
    "Product": {
      "MATNR": "sample string 1",
      "MAKTX": "sample string 2",
      "URETIM_TARIHI": "2026-05-08T21:47:38.526095+03:00"
    },
    "PartItems": [
      {
        "MATNR": "sample string 1",
        "MAKTX": "sample string 2",
        "ZZRESIMNO": "sample string 3"
      },
      {
        "MATNR": "sample string 1",
        "MAKTX": "sample string 2",
        "ZZRESIMNO": "sample string 3"
      }
    ]
  },
  "DynamicProperty": {
    "sample string 1": {},
    "sample string 3": {}
  }
}

application/xml, text/xml

Sample:
<TResultOfZUSMM_FG007_006_EXPORTNYU2z2fs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GM.SAP.Models">
  <Data>
    <PartItems>
      <ZUSMM_FG007_006_E_ITEMS>
        <_x003C_MAKTX_x003E_k__BackingField>sample string 2</_x003C_MAKTX_x003E_k__BackingField>
        <_x003C_MATNR_x003E_k__BackingField>sample string 1</_x003C_MATNR_x003E_k__BackingField>
        <_x003C_ZZRESIMNO_x003E_k__BackingField>sample string 3</_x003C_ZZRESIMNO_x003E_k__BackingField>
      </ZUSMM_FG007_006_E_ITEMS>
      <ZUSMM_FG007_006_E_ITEMS>
        <_x003C_MAKTX_x003E_k__BackingField>sample string 2</_x003C_MAKTX_x003E_k__BackingField>
        <_x003C_MATNR_x003E_k__BackingField>sample string 1</_x003C_MATNR_x003E_k__BackingField>
        <_x003C_ZZRESIMNO_x003E_k__BackingField>sample string 3</_x003C_ZZRESIMNO_x003E_k__BackingField>
      </ZUSMM_FG007_006_E_ITEMS>
    </PartItems>
    <Product>
      <_x003C_MAKTX_x003E_k__BackingField>sample string 2</_x003C_MAKTX_x003E_k__BackingField>
      <_x003C_MATNR_x003E_k__BackingField>sample string 1</_x003C_MATNR_x003E_k__BackingField>
      <_x003C_URETIM_TARIHI_x003E_k__BackingField>2026-05-08T21:47:38.526095+03:00</_x003C_URETIM_TARIHI_x003E_k__BackingField>
    </Product>
  </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>
</TResultOfZUSMM_FG007_006_EXPORTNYU2z2fs>