POST api/v1/RP_Customer_Reward4M_Final/Add

Request Information

URI Parameters

None.

Body Parameters

RP_Customer_Reward4M_HistoryModel
NameDescriptionTypeAdditional information
Id

string

None.

CustomerId

string

None.

IM_CustomerBarcode

string

None.

CustomerCode

string

None.

CustomerName

string

None.

MaterialId

string

None.

MaterialCode

string

None.

MaterialName

string

None.

TotalRewardPoint

decimal number

None.

LastBillEntDate

decimal number

None.

ActionDate

decimal number

None.

IM_Reward4MInfo

string

None.

IM_ApplyFrom

decimal number

None.

IM_ApplyTo

decimal number

None.

CounterName

string

None.

Exp_Details

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "CustomerId": "sample string 2",
  "IM_CustomerBarcode": "sample string 3",
  "CustomerCode": "sample string 4",
  "CustomerName": "sample string 5",
  "MaterialId": "sample string 6",
  "MaterialCode": "sample string 7",
  "MaterialName": "sample string 8",
  "TotalRewardPoint": 1.0,
  "LastBillEntDate": 1.1,
  "ActionDate": 1.1,
  "IM_Reward4MInfo": "sample string 9",
  "IM_ApplyFrom": 1.1,
  "IM_ApplyTo": 1.1,
  "CounterName": "sample string 10",
  "Exp_Details": "sample string 11"
}

application/xml, text/xml

Sample:
<RP_Customer_Reward4M_HistoryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
  <ActionDate>1.1</ActionDate>
  <CounterName>sample string 10</CounterName>
  <CustomerCode>sample string 4</CustomerCode>
  <CustomerId>sample string 2</CustomerId>
  <CustomerName>sample string 5</CustomerName>
  <Exp_Details>sample string 11</Exp_Details>
  <IM_ApplyFrom>1.1</IM_ApplyFrom>
  <IM_ApplyTo>1.1</IM_ApplyTo>
  <IM_CustomerBarcode>sample string 3</IM_CustomerBarcode>
  <IM_Reward4MInfo>sample string 9</IM_Reward4MInfo>
  <Id>sample string 1</Id>
  <LastBillEntDate>1.1</LastBillEntDate>
  <MaterialCode>sample string 7</MaterialCode>
  <MaterialId>sample string 6</MaterialId>
  <MaterialName>sample string 8</MaterialName>
  <TotalRewardPoint>1</TotalRewardPoint>
</RP_Customer_Reward4M_HistoryModel>

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

Response Information

Resource Description

EzyResultObjectOfRP_Customer_Reward4M_HistoryModel
NameDescriptionTypeAdditional information
Data

RP_Customer_Reward4M_HistoryModel

None.

ExtraData

Dictionary of string [key] and Object [value]

None.

StartTime

decimal number

None.

EndTime

decimal number

None.

TotalMili

decimal number

None.

StatusCode

integer

None.

Msg

string

None.

MsgShowInUI

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "Id": "sample string 1",
    "CustomerId": "sample string 2",
    "IM_CustomerBarcode": "sample string 3",
    "CustomerCode": "sample string 4",
    "CustomerName": "sample string 5",
    "MaterialId": "sample string 6",
    "MaterialCode": "sample string 7",
    "MaterialName": "sample string 8",
    "TotalRewardPoint": 1.0,
    "LastBillEntDate": 1.1,
    "ActionDate": 1.1,
    "IM_Reward4MInfo": "sample string 9",
    "IM_ApplyFrom": 1.1,
    "IM_ApplyTo": 1.1,
    "CounterName": "sample string 10",
    "Exp_Details": "sample string 11"
  },
  "ExtraData": null,
  "StartTime": 1.1,
  "EndTime": 2.1,
  "TotalMili": 3.1,
  "StatusCode": 4,
  "Msg": "sample string 5",
  "MsgShowInUI": "sample string 6"
}

application/xml, text/xml

Sample:
<EzyResultObjectOfRP_Customer_Reward4M_HistoryModel3BwjWE5f xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.Library.Message">
  <Msg>sample string 5</Msg>
  <MsgShowInUI>sample string 6</MsgShowInUI>
  <StatusCode>4</StatusCode>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
    <d2p1:ActionDate>1.1</d2p1:ActionDate>
    <d2p1:CounterName>sample string 10</d2p1:CounterName>
    <d2p1:CustomerCode>sample string 4</d2p1:CustomerCode>
    <d2p1:CustomerId>sample string 2</d2p1:CustomerId>
    <d2p1:CustomerName>sample string 5</d2p1:CustomerName>
    <d2p1:Exp_Details>sample string 11</d2p1:Exp_Details>
    <d2p1:IM_ApplyFrom>1.1</d2p1:IM_ApplyFrom>
    <d2p1:IM_ApplyTo>1.1</d2p1:IM_ApplyTo>
    <d2p1:IM_CustomerBarcode>sample string 3</d2p1:IM_CustomerBarcode>
    <d2p1:IM_Reward4MInfo>sample string 9</d2p1:IM_Reward4MInfo>
    <d2p1:Id>sample string 1</d2p1:Id>
    <d2p1:LastBillEntDate>1.1</d2p1:LastBillEntDate>
    <d2p1:MaterialCode>sample string 7</d2p1:MaterialCode>
    <d2p1:MaterialId>sample string 6</d2p1:MaterialId>
    <d2p1:MaterialName>sample string 8</d2p1:MaterialName>
    <d2p1:TotalRewardPoint>1</d2p1:TotalRewardPoint>
  </Data>
  <EndTime>2.1</EndTime>
  <ExtraData xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
  <StartTime>1.1</StartTime>
  <TotalMili>3.1</TotalMili>
</EzyResultObjectOfRP_Customer_Reward4M_HistoryModel3BwjWE5f>