POST jxc_api/Product/DownTemplate

Request Information

URI Parameters

None.

Body Parameters

ProdDownModelSetting
NameDescriptionTypeAdditional information
isPrice

boolean

None.

isAp

boolean

None.

whIds

Collection of integer

None.

apIds

Collection of integer

None.

useStockWarning

boolean

None.

useWhWarning

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "isPrice": true,
  "isAp": true,
  "whIds": [
    1,
    2
  ],
  "apIds": [
    1,
    2
  ],
  "useStockWarning": true,
  "useWhWarning": true
}

application/xml, text/xml

Sample:
<ProdDownModelSetting xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Product">
  <_x003C_apIds_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_apIds_x003E_k__BackingField>
  <_x003C_isAp_x003E_k__BackingField>true</_x003C_isAp_x003E_k__BackingField>
  <_x003C_isPrice_x003E_k__BackingField>true</_x003C_isPrice_x003E_k__BackingField>
  <_x003C_useStockWarning_x003E_k__BackingField>true</_x003C_useStockWarning_x003E_k__BackingField>
  <_x003C_useWhWarning_x003E_k__BackingField>true</_x003C_useWhWarning_x003E_k__BackingField>
  <_x003C_whIds_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </_x003C_whIds_x003E_k__BackingField>
</ProdDownModelSetting>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.