POST api/SapDosya/GetSapDoc

Request Information

URI Parameters

None.

Body Parameters

GetSapDocQueryModel
NameDescriptionTypeAdditional information
DocId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DocId": "sample string 1"
}

application/xml, text/xml

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

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

Response Information

Resource Description

TResultOfZUSMM_FG009_001_V3_EXPORT
NameDescriptionTypeAdditional information
RecordCount

integer

None.

IsSuccessful

boolean

None.

Message

string

None.

Data

ZUSMM_FG009_001_V3_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": {
    "E_DOCTYPE": "sample string 1",
    "IV_DOC": "QEA="
  },
  "DynamicProperty": {
    "sample string 1": {},
    "sample string 3": {}
  }
}

application/xml, text/xml

Sample:
<TResultOfZUSMM_FG009_001_V3_EXPORTNYU2z2fs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GM.SAP.Models">
  <Data>
    <E_DOCTYPE>sample string 1</E_DOCTYPE>
    <IV_DOC>QEA=</IV_DOC>
  </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_FG009_001_V3_EXPORTNYU2z2fs>