POST OrderDetail/AddAsAdmin

Request Information

URI Parameters

None.

Body Parameters

ORDER_DETAIL
NameDescriptionTypeAdditional information
ORDER_DETAIL_ID

integer

None.

ORDER_ID

integer

None.

PRODUCT

PRODUCT

None.

INFO

string

None.

INFO_DETAIL

string

None.

COST_TL

decimal number

None.

COST_USD

decimal number

None.

DONE

boolean

None.

FILE_PATH

string

None.

ACTIVE

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ORDER_DETAIL_ID": 1,
  "ORDER_ID": 2,
  "PRODUCT": {
    "PRODUCT_ID": 1,
    "PRODUCT_TYPE": {
      "PRODUCT_TYPE_ID": 1,
      "PRODUCT_TYPE_TR": "sample string 2",
      "PRODUCT_TYPE_EN": "sample string 3"
    },
    "PRODUCT_TR": "sample string 2",
    "PRODUCT_EN": "sample string 3",
    "FEE": 4.1,
    "FEE_CURRENCY": {
      "CURRENCY_ID": 1,
      "TEXT": "sample string 2",
      "ICON": "sample string 3",
      "PARITE": 4.1
    },
    "ACTIVE": true,
    "INFO_TR": "sample string 6",
    "INFO_EN": "sample string 7"
  },
  "INFO": "sample string 3",
  "INFO_DETAIL": "sample string 4",
  "COST_TL": 5.1,
  "COST_USD": 6.1,
  "DONE": true,
  "FILE_PATH": "sample string 8",
  "ACTIVE": true
}

text/html

Sample:
{"ORDER_DETAIL_ID":1,"ORDER_ID":2,"PRODUCT":{"PRODUCT_ID":1,"PRODUCT_TYPE":{"PRODUCT_TYPE_ID":1,"PRODUCT_TYPE_TR":"sample string 2","PRODUCT_TYPE_EN":"sample string 3"},"PRODUCT_TR":"sample string 2","PRODUCT_EN":"sample string 3","FEE":4.1,"FEE_CURRENCY":{"CURRENCY_ID":1,"TEXT":"sample string 2","ICON":"sample string 3","PARITE":4.1},"ACTIVE":true,"INFO_TR":"sample string 6","INFO_EN":"sample string 7"},"INFO":"sample string 3","INFO_DETAIL":"sample string 4","COST_TL":5.1,"COST_USD":6.1,"DONE":true,"FILE_PATH":"sample string 8","ACTIVE":true}

application/xml, text/xml

Sample:
<ORDER_DETAIL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/bnfBLL.ECOMMERCE">
  <ACTIVE>true</ACTIVE>
  <COST_TL>5.1</COST_TL>
  <COST_USD>6.1</COST_USD>
  <DONE>true</DONE>
  <FILE_PATH>sample string 8</FILE_PATH>
  <INFO>sample string 3</INFO>
  <INFO_DETAIL>sample string 4</INFO_DETAIL>
  <ORDER_DETAIL_ID>1</ORDER_DETAIL_ID>
  <ORDER_ID>2</ORDER_ID>
  <PRODUCT>
    <ACTIVE>true</ACTIVE>
    <FEE>4.1</FEE>
    <FEE_CURRENCY xmlns:d3p1="http://schemas.datacontract.org/2004/07/bnfBLL.SYSTEM">
      <d3p1:CURRENCY_ID>1</d3p1:CURRENCY_ID>
      <d3p1:ICON>sample string 3</d3p1:ICON>
      <d3p1:PARITE>4.1</d3p1:PARITE>
      <d3p1:TEXT>sample string 2</d3p1:TEXT>
    </FEE_CURRENCY>
    <INFO_EN>sample string 7</INFO_EN>
    <INFO_TR>sample string 6</INFO_TR>
    <PRODUCT_EN>sample string 3</PRODUCT_EN>
    <PRODUCT_ID>1</PRODUCT_ID>
    <PRODUCT_TR>sample string 2</PRODUCT_TR>
    <PRODUCT_TYPE>
      <PRODUCT_TYPE_EN>sample string 3</PRODUCT_TYPE_EN>
      <PRODUCT_TYPE_ID>1</PRODUCT_TYPE_ID>
      <PRODUCT_TYPE_TR>sample string 2</PRODUCT_TYPE_TR>
    </PRODUCT_TYPE>
  </PRODUCT>
</ORDER_DETAIL>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ProcessResult
NameDescriptionTypeAdditional information
m_sClass

string

None.

m_sMethod

string

None.

m_iLastId

integer

None.

m_cDataTable

DataTable

None.

m_lUserMessageList

Collection of string

None.

m_PageList

Collection of integer

None.

m_sErrorMessage

string

None.

m_cException

Exception

None.

m_eProcessState

ProcessState

None.

Response Formats

application/json, text/json

Sample:
{
  "m_eProcessState": 0,
  "m_sClass": "sample string 1",
  "m_sMethod": "sample string 2",
  "m_iLastId": 3,
  "m_cDataTable": null,
  "m_lUserMessageList": [
    "sample string 1",
    "sample string 2"
  ],
  "m_PageList": [
    1,
    2
  ],
  "m_sErrorMessage": "sample string 4",
  "m_cException": {
    "ClassName": "System.Exception",
    "Message": null,
    "Data": null,
    "InnerException": null,
    "HelpURL": "sample string 1",
    "StackTraceString": null,
    "RemoteStackTraceString": null,
    "RemoteStackIndex": 0,
    "ExceptionMethod": null,
    "HResult": 3,
    "Source": "sample string 2",
    "WatsonBuckets": null
  }
}

text/html

Sample:
{"m_eProcessState":0,"m_sClass":"sample string 1","m_sMethod":"sample string 2","m_iLastId":3,"m_cDataTable":null,"m_lUserMessageList":["sample string 1","sample string 2"],"m_PageList":[1,2],"m_sErrorMessage":"sample string 4","m_cException":{"ClassName":"System.Exception","Message":null,"Data":null,"InnerException":null,"HelpURL":"sample string 1","StackTraceString":null,"RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":3,"Source":"sample string 2","WatsonBuckets":null}}

application/xml, text/xml

Sample:
<ProcessResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/bnfOBJ">
  <m_PageList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </m_PageList>
  <m_cDataTable i:nil="true" />
  <m_cException xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <ClassName xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">System.Exception</ClassName>
    <Message i:nil="true" xmlns="" />
    <Data i:nil="true" xmlns="" />
    <InnerException i:nil="true" xmlns="" />
    <HelpURL xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 1</HelpURL>
    <StackTraceString i:nil="true" xmlns="" />
    <RemoteStackTraceString i:nil="true" xmlns="" />
    <RemoteStackIndex xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">0</RemoteStackIndex>
    <ExceptionMethod i:nil="true" xmlns="" />
    <HResult xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">3</HResult>
    <Source xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</Source>
    <WatsonBuckets i:nil="true" xmlns="" />
  </m_cException>
  <m_eProcessState>SystemException</m_eProcessState>
  <m_iLastId>3</m_iLastId>
  <m_lUserMessageList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </m_lUserMessageList>
  <m_sClass>sample string 1</m_sClass>
  <m_sErrorMessage>sample string 4</m_sErrorMessage>
  <m_sMethod>sample string 2</m_sMethod>
</ProcessResult>