POST v1/Sublines

Insert or UPdate a Subline

Request Information

URI Parameters

None.

Body Parameters

SublineDTO
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

None.

IsSystem

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Name": "sample string 2",
  "IsSystem": true
}

application/xml, text/xml

Sample:
<SublineDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">
  <ID>1</ID>
  <IsSystem>true</IsSystem>
  <Name>sample string 2</Name>
</SublineDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SublineDTO
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

None.

IsSystem

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Name": "sample string 2",
  "IsSystem": true
}

application/xml, text/xml

Sample:
<SublineDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">
  <ID>1</ID>
  <IsSystem>true</IsSystem>
  <Name>sample string 2</Name>
</SublineDTO>