POST api/v1/AfterSalesCustomerService_CallHistoryReport/Add

Request Information

URI Parameters

None.

Body Parameters

AfterSalesCustomerService_CallHistoryModel
NameDescriptionTypeAdditional information
AfterSalesCustomerService_CallId

string

None.

IM_CustomerId

string

None.

IM_CustomerName

string

None.

IM_HistoryCall

string

None.

CalledByStaffId

string

None.

CalledByStaffInfo

string

None.

CallStartedAt

decimal number

None.

CallEndedAt

decimal number

None.

RatingComment

string

None.

CallNote

string

None.

Is2Reschedule

boolean

None.

ScheduleReCallDate

decimal number

None.

RescheduleNextCallId

string

None.

BillId

string

None.

CounterId

string

None.

IM_CounterName

string

None.

UserSaleId

string

None.

UserSaleName

string

None.

IM_UserSaleName

string

None.

IM_BranchName

string

None.

CustomerId

string

None.

CustomerName

string

None.

IM_CustomerInfo

string

None.

BillDetailId

string

None.

MaterialId

string

None.

MaterialCode

string

None.

IM_MaterialName

string

None.

BuyDate

decimal number

None.

ScheduleCallDate

decimal number

None.

LevelId

string

None.

IM_LevelName

string

None.

IsForce2Stop

boolean

None.

IsFinished

boolean

None.

ConfigAfterSalesCustomerServiceSchedule_DetailId

string

None.

btn_Call

string

None.

IM_NumDaysLate

integer

None.

Id

string

None.

OrderNo

integer

None.

Note

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AfterSalesCustomerService_CallId": "sample string 1",
  "IM_CustomerId": "sample string 2",
  "IM_CustomerName": "sample string 3",
  "IM_HistoryCall": "sample string 4",
  "CalledByStaffId": "sample string 5",
  "CalledByStaffInfo": "sample string 6",
  "CallStartedAt": 1.1,
  "CallEndedAt": 1.1,
  "RatingComment": "sample string 7",
  "CallNote": "sample string 8",
  "Is2Reschedule": true,
  "ScheduleReCallDate": 1.1,
  "RescheduleNextCallId": "sample string 10",
  "BillId": "sample string 11",
  "CounterId": "sample string 12",
  "IM_CounterName": "sample string 13",
  "UserSaleId": "sample string 14",
  "UserSaleName": "sample string 15",
  "IM_UserSaleName": "sample string 16",
  "IM_BranchName": "sample string 17",
  "CustomerId": "sample string 18",
  "CustomerName": "sample string 19",
  "IM_CustomerInfo": "sample string 20",
  "BillDetailId": "sample string 21",
  "MaterialId": "sample string 22",
  "MaterialCode": "sample string 23",
  "IM_MaterialName": "sample string 24",
  "BuyDate": 1.1,
  "ScheduleCallDate": 1.1,
  "LevelId": "sample string 25",
  "IM_LevelName": "sample string 26",
  "IsForce2Stop": true,
  "IsFinished": true,
  "ConfigAfterSalesCustomerServiceSchedule_DetailId": "sample string 29",
  "btn_Call": "sample string 30",
  "IM_NumDaysLate": 31,
  "Id": "sample string 32",
  "OrderNo": 33,
  "Note": "sample string 34"
}

application/xml, text/xml

Sample:
<AfterSalesCustomerService_CallHistoryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
  <Id xmlns="http://schemas.datacontract.org/2004/07/">sample string 32</Id>
  <Note xmlns="http://schemas.datacontract.org/2004/07/">sample string 34</Note>
  <OrderNo xmlns="http://schemas.datacontract.org/2004/07/">33</OrderNo>
  <BillDetailId>sample string 21</BillDetailId>
  <BillId>sample string 11</BillId>
  <BuyDate>1.1</BuyDate>
  <ConfigAfterSalesCustomerServiceSchedule_DetailId>sample string 29</ConfigAfterSalesCustomerServiceSchedule_DetailId>
  <CounterId>sample string 12</CounterId>
  <CustomerId>sample string 18</CustomerId>
  <CustomerName>sample string 19</CustomerName>
  <IM_BranchName>sample string 17</IM_BranchName>
  <IM_CounterName>sample string 13</IM_CounterName>
  <IM_CustomerInfo>sample string 20</IM_CustomerInfo>
  <IM_LevelName>sample string 26</IM_LevelName>
  <IM_MaterialName>sample string 24</IM_MaterialName>
  <IM_NumDaysLate>31</IM_NumDaysLate>
  <IM_UserSaleName>sample string 16</IM_UserSaleName>
  <IsFinished>true</IsFinished>
  <IsForce2Stop>true</IsForce2Stop>
  <LevelId>sample string 25</LevelId>
  <MaterialCode>sample string 23</MaterialCode>
  <MaterialId>sample string 22</MaterialId>
  <ScheduleCallDate>1.1</ScheduleCallDate>
  <UserSaleId>sample string 14</UserSaleId>
  <UserSaleName>sample string 15</UserSaleName>
  <btn_Call>sample string 30</btn_Call>
  <AfterSalesCustomerService_CallId>sample string 1</AfterSalesCustomerService_CallId>
  <CallEndedAt>1.1</CallEndedAt>
  <CallNote>sample string 8</CallNote>
  <CallStartedAt>1.1</CallStartedAt>
  <CalledByStaffId>sample string 5</CalledByStaffId>
  <CalledByStaffInfo>sample string 6</CalledByStaffInfo>
  <IM_CustomerId>sample string 2</IM_CustomerId>
  <IM_CustomerName>sample string 3</IM_CustomerName>
  <IM_HistoryCall>sample string 4</IM_HistoryCall>
  <Is2Reschedule>true</Is2Reschedule>
  <RatingComment>sample string 7</RatingComment>
  <RescheduleNextCallId>sample string 10</RescheduleNextCallId>
  <ScheduleReCallDate>1.1</ScheduleReCallDate>
</AfterSalesCustomerService_CallHistoryModel>

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

Response Information

Resource Description

EzyResultObjectOfAfterSalesCustomerService_CallHistoryModel
NameDescriptionTypeAdditional information
Data

AfterSalesCustomerService_CallHistoryModel

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": {
    "AfterSalesCustomerService_CallId": "sample string 1",
    "IM_CustomerId": "sample string 2",
    "IM_CustomerName": "sample string 3",
    "IM_HistoryCall": "sample string 4",
    "CalledByStaffId": "sample string 5",
    "CalledByStaffInfo": "sample string 6",
    "CallStartedAt": 1.1,
    "CallEndedAt": 1.1,
    "RatingComment": "sample string 7",
    "CallNote": "sample string 8",
    "Is2Reschedule": true,
    "ScheduleReCallDate": 1.1,
    "RescheduleNextCallId": "sample string 10",
    "BillId": "sample string 11",
    "CounterId": "sample string 12",
    "IM_CounterName": "sample string 13",
    "UserSaleId": "sample string 14",
    "UserSaleName": "sample string 15",
    "IM_UserSaleName": "sample string 16",
    "IM_BranchName": "sample string 17",
    "CustomerId": "sample string 18",
    "CustomerName": "sample string 19",
    "IM_CustomerInfo": "sample string 20",
    "BillDetailId": "sample string 21",
    "MaterialId": "sample string 22",
    "MaterialCode": "sample string 23",
    "IM_MaterialName": "sample string 24",
    "BuyDate": 1.1,
    "ScheduleCallDate": 1.1,
    "LevelId": "sample string 25",
    "IM_LevelName": "sample string 26",
    "IsForce2Stop": true,
    "IsFinished": true,
    "ConfigAfterSalesCustomerServiceSchedule_DetailId": "sample string 29",
    "btn_Call": "sample string 30",
    "IM_NumDaysLate": 31,
    "Id": "sample string 32",
    "OrderNo": 33,
    "Note": "sample string 34"
  },
  "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:
<EzyResultObjectOfAfterSalesCustomerService_CallHistoryModel3BwjWE5f 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">
    <Id xmlns="http://schemas.datacontract.org/2004/07/">sample string 32</Id>
    <Note xmlns="http://schemas.datacontract.org/2004/07/">sample string 34</Note>
    <OrderNo xmlns="http://schemas.datacontract.org/2004/07/">33</OrderNo>
    <d2p1:BillDetailId>sample string 21</d2p1:BillDetailId>
    <d2p1:BillId>sample string 11</d2p1:BillId>
    <d2p1:BuyDate>1.1</d2p1:BuyDate>
    <d2p1:ConfigAfterSalesCustomerServiceSchedule_DetailId>sample string 29</d2p1:ConfigAfterSalesCustomerServiceSchedule_DetailId>
    <d2p1:CounterId>sample string 12</d2p1:CounterId>
    <d2p1:CustomerId>sample string 18</d2p1:CustomerId>
    <d2p1:CustomerName>sample string 19</d2p1:CustomerName>
    <d2p1:IM_BranchName>sample string 17</d2p1:IM_BranchName>
    <d2p1:IM_CounterName>sample string 13</d2p1:IM_CounterName>
    <d2p1:IM_CustomerInfo>sample string 20</d2p1:IM_CustomerInfo>
    <d2p1:IM_LevelName>sample string 26</d2p1:IM_LevelName>
    <d2p1:IM_MaterialName>sample string 24</d2p1:IM_MaterialName>
    <d2p1:IM_NumDaysLate>31</d2p1:IM_NumDaysLate>
    <d2p1:IM_UserSaleName>sample string 16</d2p1:IM_UserSaleName>
    <d2p1:IsFinished>true</d2p1:IsFinished>
    <d2p1:IsForce2Stop>true</d2p1:IsForce2Stop>
    <d2p1:LevelId>sample string 25</d2p1:LevelId>
    <d2p1:MaterialCode>sample string 23</d2p1:MaterialCode>
    <d2p1:MaterialId>sample string 22</d2p1:MaterialId>
    <d2p1:ScheduleCallDate>1.1</d2p1:ScheduleCallDate>
    <d2p1:UserSaleId>sample string 14</d2p1:UserSaleId>
    <d2p1:UserSaleName>sample string 15</d2p1:UserSaleName>
    <d2p1:btn_Call>sample string 30</d2p1:btn_Call>
    <d2p1:AfterSalesCustomerService_CallId>sample string 1</d2p1:AfterSalesCustomerService_CallId>
    <d2p1:CallEndedAt>1.1</d2p1:CallEndedAt>
    <d2p1:CallNote>sample string 8</d2p1:CallNote>
    <d2p1:CallStartedAt>1.1</d2p1:CallStartedAt>
    <d2p1:CalledByStaffId>sample string 5</d2p1:CalledByStaffId>
    <d2p1:CalledByStaffInfo>sample string 6</d2p1:CalledByStaffInfo>
    <d2p1:IM_CustomerId>sample string 2</d2p1:IM_CustomerId>
    <d2p1:IM_CustomerName>sample string 3</d2p1:IM_CustomerName>
    <d2p1:IM_HistoryCall>sample string 4</d2p1:IM_HistoryCall>
    <d2p1:Is2Reschedule>true</d2p1:Is2Reschedule>
    <d2p1:RatingComment>sample string 7</d2p1:RatingComment>
    <d2p1:RescheduleNextCallId>sample string 10</d2p1:RescheduleNextCallId>
    <d2p1:ScheduleReCallDate>1.1</d2p1:ScheduleReCallDate>
  </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>
</EzyResultObjectOfAfterSalesCustomerService_CallHistoryModel3BwjWE5f>