POST jxc_api/VendorPriceInfo/Check

Request Information

URI Parameters

None.

Body Parameters

VCPriceInfoSaveModel
NameDescriptionTypeAdditional information
Infos

Collection of VCPriceInfoModel

None.

ConvertMultipleUnits

boolean

None.

UpdateExistData

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Infos": [
    {
      "Index": 1,
      "Id": 2,
      "PriceStatus": "sample string 3",
      "PriceStatusEnum": 0,
      "StartDate": "2024-11-25 02:43:27",
      "EndDate": "2024-11-25 02:43:27",
      "TimeTakeEffect": "sample string 6",
      "TimeExpiration": "sample string 7",
      "PriceType": "sample string 8",
      "InfoType": 9,
      "VcId": 10,
      "VcName": "sample string 11",
      "VcNo": "sample string 12",
      "VcTypeName": "sample string 13",
      "VcTypeNo": "sample string 14",
      "VcTypeId": 15,
      "ProdName": "sample string 16",
      "ProdNo": "sample string 17",
      "ProdId": 18,
      "ProdTypeName": "sample string 19",
      "Spec": "sample string 20",
      "Brand": "sample string 21",
      "UseMultiUnits": true,
      "UseAp": true,
      "SerialEnabled": true,
      "ApName": "sample string 25",
      "ApId": 26,
      "TradePrice": 27.0,
      "LimitPrice": 28.0,
      "Location": "sample string 29",
      "UnitName": "sample string 30",
      "UnitId": 31,
      "TradeStart": 32.0,
      "TradeEnd": 33.0,
      "Source": "sample string 34",
      "CreatedByName": "sample string 35",
      "ModifiedDate": "sample string 36",
      "CheckedByName": "sample string 37",
      "Note": "sample string 38",
      "IsChecked": 39
    },
    {
      "Index": 1,
      "Id": 2,
      "PriceStatus": "sample string 3",
      "PriceStatusEnum": 0,
      "StartDate": "2024-11-25 02:43:27",
      "EndDate": "2024-11-25 02:43:27",
      "TimeTakeEffect": "sample string 6",
      "TimeExpiration": "sample string 7",
      "PriceType": "sample string 8",
      "InfoType": 9,
      "VcId": 10,
      "VcName": "sample string 11",
      "VcNo": "sample string 12",
      "VcTypeName": "sample string 13",
      "VcTypeNo": "sample string 14",
      "VcTypeId": 15,
      "ProdName": "sample string 16",
      "ProdNo": "sample string 17",
      "ProdId": 18,
      "ProdTypeName": "sample string 19",
      "Spec": "sample string 20",
      "Brand": "sample string 21",
      "UseMultiUnits": true,
      "UseAp": true,
      "SerialEnabled": true,
      "ApName": "sample string 25",
      "ApId": 26,
      "TradePrice": 27.0,
      "LimitPrice": 28.0,
      "Location": "sample string 29",
      "UnitName": "sample string 30",
      "UnitId": 31,
      "TradeStart": 32.0,
      "TradeEnd": 33.0,
      "Source": "sample string 34",
      "CreatedByName": "sample string 35",
      "ModifiedDate": "sample string 36",
      "CheckedByName": "sample string 37",
      "Note": "sample string 38",
      "IsChecked": 39
    }
  ],
  "ConvertMultipleUnits": true,
  "UpdateExistData": true
}

application/xml, text/xml

Sample:
<VCPriceInfoSaveModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Abstraction.NewApi.BaseData.CustomerPriceInfo">
  <ConvertMultipleUnits>true</ConvertMultipleUnits>
  <Infos>
    <VCPriceInfoModel>
      <ApId>26</ApId>
      <ApName>sample string 25</ApName>
      <Brand>sample string 21</Brand>
      <CheckedByName>sample string 37</CheckedByName>
      <CreatedByName>sample string 35</CreatedByName>
      <EndDate>2024-11-25T02:43:27.4794029+08:00</EndDate>
      <Id>2</Id>
      <Index>1</Index>
      <InfoType>9</InfoType>
      <IsChecked>39</IsChecked>
      <LimitPrice>28</LimitPrice>
      <Location>sample string 29</Location>
      <ModifiedDate>sample string 36</ModifiedDate>
      <Note>sample string 38</Note>
      <PriceStatus>sample string 3</PriceStatus>
      <PriceStatusEnum>Executed</PriceStatusEnum>
      <PriceType>sample string 8</PriceType>
      <ProdId>18</ProdId>
      <ProdName>sample string 16</ProdName>
      <ProdNo>sample string 17</ProdNo>
      <ProdTypeName>sample string 19</ProdTypeName>
      <SerialEnabled>true</SerialEnabled>
      <Source>sample string 34</Source>
      <Spec>sample string 20</Spec>
      <StartDate>2024-11-25T02:43:27.4794029+08:00</StartDate>
      <TimeExpiration>sample string 7</TimeExpiration>
      <TimeTakeEffect>sample string 6</TimeTakeEffect>
      <TradeEnd>33</TradeEnd>
      <TradePrice>27</TradePrice>
      <TradeStart>32</TradeStart>
      <UnitId>31</UnitId>
      <UnitName>sample string 30</UnitName>
      <UseAp>true</UseAp>
      <UseMultiUnits>true</UseMultiUnits>
      <VcId>10</VcId>
      <VcName>sample string 11</VcName>
      <VcNo>sample string 12</VcNo>
      <VcTypeId>15</VcTypeId>
      <VcTypeName>sample string 13</VcTypeName>
      <VcTypeNo>sample string 14</VcTypeNo>
    </VCPriceInfoModel>
    <VCPriceInfoModel>
      <ApId>26</ApId>
      <ApName>sample string 25</ApName>
      <Brand>sample string 21</Brand>
      <CheckedByName>sample string 37</CheckedByName>
      <CreatedByName>sample string 35</CreatedByName>
      <EndDate>2024-11-25T02:43:27.4794029+08:00</EndDate>
      <Id>2</Id>
      <Index>1</Index>
      <InfoType>9</InfoType>
      <IsChecked>39</IsChecked>
      <LimitPrice>28</LimitPrice>
      <Location>sample string 29</Location>
      <ModifiedDate>sample string 36</ModifiedDate>
      <Note>sample string 38</Note>
      <PriceStatus>sample string 3</PriceStatus>
      <PriceStatusEnum>Executed</PriceStatusEnum>
      <PriceType>sample string 8</PriceType>
      <ProdId>18</ProdId>
      <ProdName>sample string 16</ProdName>
      <ProdNo>sample string 17</ProdNo>
      <ProdTypeName>sample string 19</ProdTypeName>
      <SerialEnabled>true</SerialEnabled>
      <Source>sample string 34</Source>
      <Spec>sample string 20</Spec>
      <StartDate>2024-11-25T02:43:27.4794029+08:00</StartDate>
      <TimeExpiration>sample string 7</TimeExpiration>
      <TimeTakeEffect>sample string 6</TimeTakeEffect>
      <TradeEnd>33</TradeEnd>
      <TradePrice>27</TradePrice>
      <TradeStart>32</TradeStart>
      <UnitId>31</UnitId>
      <UnitName>sample string 30</UnitName>
      <UseAp>true</UseAp>
      <UseMultiUnits>true</UseMultiUnits>
      <VcId>10</VcId>
      <VcName>sample string 11</VcName>
      <VcNo>sample string 12</VcNo>
      <VcTypeId>15</VcTypeId>
      <VcTypeName>sample string 13</VcTypeName>
      <VcTypeNo>sample string 14</VcTypeNo>
    </VCPriceInfoModel>
  </Infos>
  <UpdateExistData>true</UpdateExistData>
</VCPriceInfoSaveModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MessageModel
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Data

Object

None.

StatusCode

StatusCode

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "Data": {},
  "StatusCode": 100
}

application/xml, text/xml

Sample:
<MessageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model">
  <_x003C_Data_x003E_k__BackingField />
  <_x003C_Message_x003E_k__BackingField>sample string 2</_x003C_Message_x003E_k__BackingField>
  <_x003C_StatusCode_x003E_k__BackingField>CONTINUE</_x003C_StatusCode_x003E_k__BackingField>
  <_x003C_Success_x003E_k__BackingField>true</_x003C_Success_x003E_k__BackingField>
</MessageModel>