POST api/Customer/AddOrder

Request Information

URI Parameters

None.

Body Parameters

RequestMeterModel
NameDescriptionTypeAdditional information
CaNo

string

None.

PeaNo

string

None.

AliasName

string

None.

AllowSentNotification

boolean

None.

RateSentNotification

string

None.

Amount

integer

None.

ItemPerPage

integer

None.

PageNo

integer

None.

caNoList

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "CaNo": "sample string 1",
  "PeaNo": "sample string 2",
  "AliasName": "sample string 3",
  "AllowSentNotification": true,
  "RateSentNotification": "sample string 4",
  "Amount": 5,
  "ItemPerPage": 6,
  "PageNo": 7,
  "caNoList": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<RequestMeterModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models.CustomerModels">
  <AliasName>sample string 3</AliasName>
  <AllowSentNotification>true</AllowSentNotification>
  <Amount>5</Amount>
  <CaNo>sample string 1</CaNo>
  <ItemPerPage>6</ItemPerPage>
  <PageNo>7</PageNo>
  <PeaNo>sample string 2</PeaNo>
  <RateSentNotification>sample string 4</RateSentNotification>
  <caNoList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </caNoList>
</RequestMeterModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultModelOfString
NameDescriptionTypeAdditional information
Data

string

None.

Status

boolean

None.

ErrorMessage

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": "sample string 1",
  "Status": true,
  "ErrorMessage": "sample string 3",
  "Message": "sample string 4"
}

application/xml, text/xml

Sample:
<ResultModelOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEASmartPlus.MobileService.Models">
  <Data>sample string 1</Data>
  <ErrorMessage>sample string 3</ErrorMessage>
  <Message>sample string 4</Message>
  <Status>true</Status>
</ResultModelOfstring>