POST jxc_api/AssistData/AddSettlePeriod

Request Information

URI Parameters

None.

Body Parameters

SettlePeriodModel
NameDescriptionTypeAdditional information
AsId

integer

None.

MainKey

integer

None.

Id

integer

None.

Type

integer

None.

Default

integer

None.

Value

string

None.

No

string

None.

Name

string

None.

ErrorList

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "ErrorList": [
    "sample string 1",
    "sample string 2"
  ],
  "AsId": 1,
  "MainKey": 2,
  "Id": 3,
  "Type": 4,
  "Default": 5,
  "Value": "sample string 6",
  "No": "sample string 7",
  "Name": "sample string 8"
}

application/xml, text/xml

Sample:
<SettlePeriodModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.Model.NewApi.BaseData.SettlePeriod">
  <ErrorList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ErrorList>
  <PMList />
  <_x003C_AsId_x003E_k__BackingField>1</_x003C_AsId_x003E_k__BackingField>
  <_x003C_Default_x003E_k__BackingField>5</_x003C_Default_x003E_k__BackingField>
  <_x003C_Id_x003E_k__BackingField>3</_x003C_Id_x003E_k__BackingField>
  <_x003C_MainKey_x003E_k__BackingField>2</_x003C_MainKey_x003E_k__BackingField>
  <_x003C_Name_x003E_k__BackingField>sample string 8</_x003C_Name_x003E_k__BackingField>
  <_x003C_No_x003E_k__BackingField>sample string 7</_x003C_No_x003E_k__BackingField>
  <_x003C_Type_x003E_k__BackingField>4</_x003C_Type_x003E_k__BackingField>
  <_x003C_Value_x003E_k__BackingField>sample string 6</_x003C_Value_x003E_k__BackingField>
</SettlePeriodModel>

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>