POST v1/Sublines
Insert or Update a Subline
Request Information
URI Parameters
None.
Body Parameters
Subline to be upserted
SublineDTOName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Name | string |
None. |
|
IsSystem | boolean |
None. |
|
CodeValue | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "Name": "sample string 2", "IsSystem": true, "CodeValue": "sample string 4" }
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"> <CodeValue>sample string 4</CodeValue> <ID>1</ID> <IsSystem>true</IsSystem> <Name>sample string 2</Name> </SublineDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Updated subline
SublineDTOName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Name | string |
None. |
|
IsSystem | boolean |
None. |
|
CodeValue | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "ID": 1, "Name": "sample string 2", "IsSystem": true, "CodeValue": "sample string 4" }
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"> <CodeValue>sample string 4</CodeValue> <ID>1</ID> <IsSystem>true</IsSystem> <Name>sample string 2</Name> </SublineDTO>