POST jxc_api/AccountSet/MigrateFromScm

Request Information

URI Parameters

None.

Body Parameters

MigrateRequest
NameDescriptionTypeAdditional information
ScmProductType

ScmProductType

None.

ScmAsId

integer

None.

AccProductType

AccProductType

None.

AccAsId

integer

None.

KeepJournal

boolean

None.

AccStandard

integer

None.

ServiceType

integer

None.

ServiceId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ScmProductType": 1010,
  "ScmAsId": 1,
  "AccProductType": 1010,
  "AccAsId": 2,
  "KeepJournal": true,
  "AccStandard": 4,
  "ServiceType": 5,
  "ServiceId": 6
}

application/xml, text/xml

Sample:
<MigrateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Setting.Models">
  <AccAsId>2</AccAsId>
  <AccProductType>Free</AccProductType>
  <AccStandard>4</AccStandard>
  <KeepJournal>true</KeepJournal>
  <ScmAsId>1</ScmAsId>
  <ScmProductType>Free</ScmProductType>
  <ServiceId>6</ServiceId>
  <ServiceType>5</ServiceType>
</MigrateRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>