POST api/NTSetting/PostCOSService
Request Information
URI Parameters
None.
Body Parameters
COSServiceDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
String length: inclusive between 0 and 50 |
|
| Sequence | integer |
None. |
|
| ValidFlag | boolean |
None. |
|
| DateCreated | date |
None. |
|
| DateUpdated | date |
None. |
|
| UserIDCreated | integer |
None. |
|
| UserIDUpdated | integer |
None. |
|
| ColorCode | string |
String length: inclusive between 0 and 20 |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"Sequence": 1,
"ValidFlag": true,
"DateCreated": "2026-02-03T20:54:47.851514-08:00",
"DateUpdated": "2026-02-03T20:54:47.8671676-08:00",
"UserIDCreated": 6,
"UserIDUpdated": 7,
"ColorCode": "sample string 8"
}
application/xml, text/xml
Sample:
<COSServiceDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL"> <ColorCode>sample string 8</ColorCode> <DateCreated>2026-02-03T20:54:47.851514-08:00</DateCreated> <DateUpdated>2026-02-03T20:54:47.8671676-08:00</DateUpdated> <Id>1</Id> <Name>sample string 2</Name> <Sequence>1</Sequence> <UserIDCreated>6</UserIDCreated> <UserIDUpdated>7</UserIDUpdated> <ValidFlag>true</ValidFlag> </COSServiceDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AsapResponseOfCOSServiceDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| isSuccess | boolean |
None. |
|
| message | string |
None. |
|
| jsonObj | COSServiceDTO |
None. |
|
| totalCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"isSuccess": true,
"message": "sample string 2",
"jsonObj": {
"Id": 1,
"Name": "sample string 2",
"Sequence": 1,
"ValidFlag": true,
"DateCreated": "2026-02-03T20:54:47.8671676-08:00",
"DateUpdated": "2026-02-03T20:54:47.8671676-08:00",
"UserIDCreated": 6,
"UserIDUpdated": 7,
"ColorCode": "sample string 8"
},
"totalCount": 3
}
application/xml, text/xml
Sample:
<AsapResponseOfCOSServiceDTO3NYuOdgi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.Common">
<isSuccess>true</isSuccess>
<jsonObj xmlns:d2p1="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">
<d2p1:ColorCode>sample string 8</d2p1:ColorCode>
<d2p1:DateCreated>2026-02-03T20:54:47.8671676-08:00</d2p1:DateCreated>
<d2p1:DateUpdated>2026-02-03T20:54:47.8671676-08:00</d2p1:DateUpdated>
<d2p1:Id>1</d2p1:Id>
<d2p1:Name>sample string 2</d2p1:Name>
<d2p1:Sequence>1</d2p1:Sequence>
<d2p1:UserIDCreated>6</d2p1:UserIDCreated>
<d2p1:UserIDUpdated>7</d2p1:UserIDUpdated>
<d2p1:ValidFlag>true</d2p1:ValidFlag>
</jsonObj>
<message>sample string 2</message>
<totalCount>3</totalCount>
</AsapResponseOfCOSServiceDTO3NYuOdgi>