POST api/Crm/search_card

Request Information

URI Parameters

None.

Body Parameters

CustomerVisitModel
NameDescriptionTypeAdditional information
Id

integer

None.

CustomerId

integer

None.

StaffId

integer

None.

DOT

string

None.

EntryTOT

decimal number

None.

ExitTOT

decimal number

None.

BillValue

decimal number

None.

CheckOutComment

string

None.

AccountAllert

string

None.

InventoryAllert

string

None.

AdminAllert

string

None.

CardNumber

string

None.

SalesAreaId

integer

None.

TOT

decimal number

None.

Remark

string

None.

Customer

string

None.

Staff

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CustomerId": 2,
  "StaffId": 3,
  "DOT": "sample string 4",
  "EntryTOT": 5.1,
  "ExitTOT": 6.1,
  "BillValue": 7.1,
  "CheckOutComment": "sample string 8",
  "AccountAllert": "sample string 9",
  "InventoryAllert": "sample string 10",
  "AdminAllert": "sample string 11",
  "CardNumber": "sample string 12",
  "SalesAreaId": 13,
  "TOT": 14.1,
  "Remark": "sample string 15",
  "Customer": "sample string 16",
  "Staff": "sample string 17"
}

application/xml, text/xml

Sample:
<CustomerVisitModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CfCrmApi.Models">
  <AccountAllert>sample string 9</AccountAllert>
  <AdminAllert>sample string 11</AdminAllert>
  <BillValue>7.1</BillValue>
  <CardNumber>sample string 12</CardNumber>
  <CheckOutComment>sample string 8</CheckOutComment>
  <Customer>sample string 16</Customer>
  <CustomerId>2</CustomerId>
  <DOT>sample string 4</DOT>
  <EntryTOT>5.1</EntryTOT>
  <ExitTOT>6.1</ExitTOT>
  <Id>1</Id>
  <InventoryAllert>sample string 10</InventoryAllert>
  <Remark>sample string 15</Remark>
  <SalesAreaId>13</SalesAreaId>
  <Staff>sample string 17</Staff>
  <StaffId>3</StaffId>
  <TOT>14.1</TOT>
</CustomerVisitModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultModelOfCustomerVisitModel
NameDescriptionTypeAdditional information
ResponseCode

integer

None.

Message

string

None.

Data

CustomerVisitModel

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": 1,
  "Message": "sample string 2",
  "Data": {
    "Id": 1,
    "CustomerId": 2,
    "StaffId": 3,
    "DOT": "sample string 4",
    "EntryTOT": 5.1,
    "ExitTOT": 6.1,
    "BillValue": 7.1,
    "CheckOutComment": "sample string 8",
    "AccountAllert": "sample string 9",
    "InventoryAllert": "sample string 10",
    "AdminAllert": "sample string 11",
    "CardNumber": "sample string 12",
    "SalesAreaId": 13,
    "TOT": 14.1,
    "Remark": "sample string 15",
    "Customer": "sample string 16",
    "Staff": "sample string 17"
  }
}

application/xml, text/xml

Sample:
<ResultModelOfCustomerVisitModelEWbISkN_S xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CfCrmApi.Models">
  <Data>
    <AccountAllert>sample string 9</AccountAllert>
    <AdminAllert>sample string 11</AdminAllert>
    <BillValue>7.1</BillValue>
    <CardNumber>sample string 12</CardNumber>
    <CheckOutComment>sample string 8</CheckOutComment>
    <Customer>sample string 16</Customer>
    <CustomerId>2</CustomerId>
    <DOT>sample string 4</DOT>
    <EntryTOT>5.1</EntryTOT>
    <ExitTOT>6.1</ExitTOT>
    <Id>1</Id>
    <InventoryAllert>sample string 10</InventoryAllert>
    <Remark>sample string 15</Remark>
    <SalesAreaId>13</SalesAreaId>
    <Staff>sample string 17</Staff>
    <StaffId>3</StaffId>
    <TOT>14.1</TOT>
  </Data>
  <Message>sample string 2</Message>
  <ResponseCode>1</ResponseCode>
</ResultModelOfCustomerVisitModelEWbISkN_S>