POST jxc_api/AccConn/InitBasicData

Request Information

URI Parameters

None.

Body Parameters

InitBasicDataPara
NameDescriptionTypeAdditional information
AsId

integer

None.

AccAsId

integer

None.

Subjects

Dictionary of string [key] and integer [value]

None.

OrpSubjects

Dictionary of string [key] and integer [value]

None.

Inuseasubids

string

None.

Iskeepbeforesettings

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "AsId": 1,
  "AccAsId": 2,
  "Subjects": {
    "sample string 1": 2,
    "sample string 3": 4
  },
  "OrpSubjects": {
    "sample string 1": 2,
    "sample string 3": 4
  },
  "Inuseasubids": "sample string 3",
  "Iskeepbeforesettings": true
}

application/xml, text/xml

Sample:
<InitBasicDataPara xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.ToAcc.Models">
  <AccAsId>2</AccAsId>
  <AsId>1</AsId>
  <Inuseasubids>sample string 3</Inuseasubids>
  <Iskeepbeforesettings>true</Iskeepbeforesettings>
  <OrpSubjects xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringint>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>2</d2p1:Value>
    </d2p1:KeyValueOfstringint>
    <d2p1:KeyValueOfstringint>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>4</d2p1:Value>
    </d2p1:KeyValueOfstringint>
  </OrpSubjects>
  <Subjects xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringint>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>2</d2p1:Value>
    </d2p1:KeyValueOfstringint>
    <d2p1:KeyValueOfstringint>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>4</d2p1:Value>
    </d2p1:KeyValueOfstringint>
  </Subjects>
</InitBasicDataPara>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />