POST jxc_api/AccountSet/MigrateFromScm

Request Information

URI Parameters

None.

Body Parameters

MigrateRequest
NameDescriptionTypeAdditional information
ScmAsId

integer

None.

AccAsId

integer

None.

KeepJournal

boolean

None.

AccStandard

integer

None.

ServiceType

integer

None.

ServiceId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ScmAsId": 1,
  "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>
  <AccStandard>4</AccStandard>
  <KeepJournal>true</KeepJournal>
  <ScmAsId>1</ScmAsId>
  <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>