POST jxc_api/PrintTpl/Save

Request Information

URI Parameters

None.

Body Parameters

PrintTemplateInfo
NameDescriptionTypeAdditional information
PtType

PrintTemplateType

None.

PtId

integer

None.

PtName

string

None.

IsDefault

integer

None.

AccAsId

integer

None.

CurrentUserSn

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PtType": 1010,
  "PtId": 2,
  "PtName": "sample string 3",
  "IsDefault": 5,
  "AccAsId": 10,
  "CurrentUserSn": 11
}

application/xml, text/xml

Sample:
<PrintTemplateInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting.Print">
  <_x003C_AccAsId_x003E_k__BackingField>10</_x003C_AccAsId_x003E_k__BackingField>
  <_x003C_AsId_x003E_k__BackingField>1</_x003C_AsId_x003E_k__BackingField>
  <_x003C_CreatedBy_x003E_k__BackingField>6</_x003C_CreatedBy_x003E_k__BackingField>
  <_x003C_CreatedDate_x003E_k__BackingField>2024-11-25T02:32:10.5987389+08:00</_x003C_CreatedDate_x003E_k__BackingField>
  <_x003C_CurrentUserSn_x003E_k__BackingField>11</_x003C_CurrentUserSn_x003E_k__BackingField>
  <_x003C_IsDefault_x003E_k__BackingField>5</_x003C_IsDefault_x003E_k__BackingField>
  <_x003C_ModifiedBy_x003E_k__BackingField>9</_x003C_ModifiedBy_x003E_k__BackingField>
  <_x003C_ModifiedDate_x003E_k__BackingField>2024-11-25T02:32:10.5987389+08:00</_x003C_ModifiedDate_x003E_k__BackingField>
  <_x003C_PtId_x003E_k__BackingField>2</_x003C_PtId_x003E_k__BackingField>
  <_x003C_PtLayout_x003E_k__BackingField>sample string 4</_x003C_PtLayout_x003E_k__BackingField>
  <_x003C_PtName_x003E_k__BackingField>sample string 3</_x003C_PtName_x003E_k__BackingField>
  <_x003C_PtType_x003E_k__BackingField>PurchaseOrder</_x003C_PtType_x003E_k__BackingField>
</PrintTemplateInfo>

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>