POST jxc_api/SeniorPrint/Save

Request Information

URI Parameters

None.

Body Parameters

SeniorPrintTemplateInfo
NameDescriptionTypeAdditional information
SeniorPageField

SeniorPageField

None.

AsIdNoIgnore

integer

None.

PtType

PrintTemplateType

None.

PtId

integer

None.

PtName

string

None.

PtLayout

string

None.

PaperType

PaperType

None.

IsDefault

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SeniorPageField": {
    "SeniorMoudleList": [
      {
        "MoudleType": "sample string 1",
        "MoudleName": "sample string 2",
        "Order": 3,
        "SeniorFieldList": [
          {
            "FieldName": "sample string 1",
            "LableColumnName": "sample string 2",
            "FieldId": "sample string 3",
            "FieldValue": "sample string 4",
            "TargetTable": "sample string 5",
            "Checked": true,
            "FieldType": "sample string 7",
            "Order": 8
          },
          {
            "FieldName": "sample string 1",
            "LableColumnName": "sample string 2",
            "FieldId": "sample string 3",
            "FieldValue": "sample string 4",
            "TargetTable": "sample string 5",
            "Checked": true,
            "FieldType": "sample string 7",
            "Order": 8
          }
        ],
        "TableName": "sample string 4",
        "TableId": "sample string 5"
      },
      {
        "MoudleType": "sample string 1",
        "MoudleName": "sample string 2",
        "Order": 3,
        "SeniorFieldList": [
          {
            "FieldName": "sample string 1",
            "LableColumnName": "sample string 2",
            "FieldId": "sample string 3",
            "FieldValue": "sample string 4",
            "TargetTable": "sample string 5",
            "Checked": true,
            "FieldType": "sample string 7",
            "Order": 8
          },
          {
            "FieldName": "sample string 1",
            "LableColumnName": "sample string 2",
            "FieldId": "sample string 3",
            "FieldValue": "sample string 4",
            "TargetTable": "sample string 5",
            "Checked": true,
            "FieldType": "sample string 7",
            "Order": 8
          }
        ],
        "TableName": "sample string 4",
        "TableId": "sample string 5"
      }
    ]
  },
  "AsIdNoIgnore": 2,
  "PtType": 1010,
  "PtId": 3,
  "PtName": "sample string 4",
  "PtLayout": "sample string 5",
  "PaperType": 1010,
  "IsDefault": 6
}

application/xml, text/xml

Sample:
<SeniorPrintTemplateInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.Setting.SeniorPrint">
  <_x003C_AsIdNoIgnore_x003E_k__BackingField>2</_x003C_AsIdNoIgnore_x003E_k__BackingField>
  <_x003C_AsId_x003E_k__BackingField>1</_x003C_AsId_x003E_k__BackingField>
  <_x003C_CreatedBy_x003E_k__BackingField>7</_x003C_CreatedBy_x003E_k__BackingField>
  <_x003C_CreatedDate_x003E_k__BackingField>2024-11-25T03:03:47.257349+08:00</_x003C_CreatedDate_x003E_k__BackingField>
  <_x003C_IsDefault_x003E_k__BackingField>6</_x003C_IsDefault_x003E_k__BackingField>
  <_x003C_ModifiedBy_x003E_k__BackingField>10</_x003C_ModifiedBy_x003E_k__BackingField>
  <_x003C_ModifiedDate_x003E_k__BackingField>2024-11-25T03:03:47.257349+08:00</_x003C_ModifiedDate_x003E_k__BackingField>
  <_x003C_PaperType_x003E_k__BackingField>A4</_x003C_PaperType_x003E_k__BackingField>
  <_x003C_PtId_x003E_k__BackingField>3</_x003C_PtId_x003E_k__BackingField>
  <_x003C_PtLayout_x003E_k__BackingField>sample string 5</_x003C_PtLayout_x003E_k__BackingField>
  <_x003C_PtName_x003E_k__BackingField>sample string 4</_x003C_PtName_x003E_k__BackingField>
  <_x003C_PtType_x003E_k__BackingField>PurchaseOrder</_x003C_PtType_x003E_k__BackingField>
  <_x003C_PtLayoutXml_x003E_k__BackingField i:nil="true" />
  <_x003C_SeniorPageField_x003E_k__BackingField xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.Model.SeniorPrint">
    <d2p1:SeniorMoudleList>
      <d2p1:SeniorMoudle>
        <d2p1:MoudleName>sample string 2</d2p1:MoudleName>
        <d2p1:MoudleType>sample string 1</d2p1:MoudleType>
        <d2p1:Order>3</d2p1:Order>
        <d2p1:SeniorFieldList>
          <d2p1:SeniorField>
            <d2p1:Checked>true</d2p1:Checked>
            <d2p1:FieldId>sample string 3</d2p1:FieldId>
            <d2p1:FieldName>sample string 1</d2p1:FieldName>
            <d2p1:FieldType>sample string 7</d2p1:FieldType>
            <d2p1:FieldValue>sample string 4</d2p1:FieldValue>
            <d2p1:LableColumnName>sample string 2</d2p1:LableColumnName>
            <d2p1:Order>8</d2p1:Order>
            <d2p1:TargetTable>sample string 5</d2p1:TargetTable>
          </d2p1:SeniorField>
          <d2p1:SeniorField>
            <d2p1:Checked>true</d2p1:Checked>
            <d2p1:FieldId>sample string 3</d2p1:FieldId>
            <d2p1:FieldName>sample string 1</d2p1:FieldName>
            <d2p1:FieldType>sample string 7</d2p1:FieldType>
            <d2p1:FieldValue>sample string 4</d2p1:FieldValue>
            <d2p1:LableColumnName>sample string 2</d2p1:LableColumnName>
            <d2p1:Order>8</d2p1:Order>
            <d2p1:TargetTable>sample string 5</d2p1:TargetTable>
          </d2p1:SeniorField>
        </d2p1:SeniorFieldList>
        <d2p1:TableId>sample string 5</d2p1:TableId>
        <d2p1:TableName>sample string 4</d2p1:TableName>
      </d2p1:SeniorMoudle>
      <d2p1:SeniorMoudle>
        <d2p1:MoudleName>sample string 2</d2p1:MoudleName>
        <d2p1:MoudleType>sample string 1</d2p1:MoudleType>
        <d2p1:Order>3</d2p1:Order>
        <d2p1:SeniorFieldList>
          <d2p1:SeniorField>
            <d2p1:Checked>true</d2p1:Checked>
            <d2p1:FieldId>sample string 3</d2p1:FieldId>
            <d2p1:FieldName>sample string 1</d2p1:FieldName>
            <d2p1:FieldType>sample string 7</d2p1:FieldType>
            <d2p1:FieldValue>sample string 4</d2p1:FieldValue>
            <d2p1:LableColumnName>sample string 2</d2p1:LableColumnName>
            <d2p1:Order>8</d2p1:Order>
            <d2p1:TargetTable>sample string 5</d2p1:TargetTable>
          </d2p1:SeniorField>
          <d2p1:SeniorField>
            <d2p1:Checked>true</d2p1:Checked>
            <d2p1:FieldId>sample string 3</d2p1:FieldId>
            <d2p1:FieldName>sample string 1</d2p1:FieldName>
            <d2p1:FieldType>sample string 7</d2p1:FieldType>
            <d2p1:FieldValue>sample string 4</d2p1:FieldValue>
            <d2p1:LableColumnName>sample string 2</d2p1:LableColumnName>
            <d2p1:Order>8</d2p1:Order>
            <d2p1:TargetTable>sample string 5</d2p1:TargetTable>
          </d2p1:SeniorField>
        </d2p1:SeniorFieldList>
        <d2p1:TableId>sample string 5</d2p1:TableId>
        <d2p1:TableName>sample string 4</d2p1:TableName>
      </d2p1:SeniorMoudle>
    </d2p1:SeniorMoudleList>
  </_x003C_SeniorPageField_x003E_k__BackingField>
</SeniorPrintTemplateInfo>

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>