POST api/NTSetting/SaveArticle
Request Information
URI Parameters
None.
Body Parameters
ArticleDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ArticleTypeId | integer |
None. |
|
| Name | string |
String length: inclusive between 0 and 200 |
|
| Code | string |
String length: inclusive between 0 and 200 |
|
| CorporationCode | string |
String length: inclusive between 0 and 20 |
|
| ArticleText | string |
String length: inclusive between 0 and 4000 |
|
| ArticleTypeName | string |
String length: inclusive between 0 and 100 |
|
| Sequence | integer |
None. |
|
| ValidFlag | boolean |
None. |
|
| DateCreated | date |
None. |
|
| DateUpdated | date |
None. |
|
| UserIDCreated | integer |
None. |
|
| UserIDUpdated | integer |
None. |
|
| CompanyCode | string |
String length: inclusive between 0 and 20 |
|
| IsExcludeDiscount | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"ArticleTypeId": 2,
"Name": "sample string 3",
"Code": "sample string 4",
"CorporationCode": "sample string 5",
"ArticleText": "sample string 6",
"ArticleTypeName": "sample string 7",
"Sequence": 8,
"ValidFlag": true,
"DateCreated": "2025-10-30T10:03:49.0467213-07:00",
"DateUpdated": "2025-10-30T10:03:49.0467213-07:00",
"UserIDCreated": 12,
"UserIDUpdated": 13,
"CompanyCode": "sample string 14",
"IsExcludeDiscount": true
}
application/xml, text/xml
Sample:
<ArticleDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL"> <CompanyCode>sample string 14</CompanyCode> <DateCreated>2025-10-30T10:03:49.0467213-07:00</DateCreated> <DateUpdated>2025-10-30T10:03:49.0467213-07:00</DateUpdated> <IsExcludeDiscount>true</IsExcludeDiscount> <UserIDCreated>12</UserIDCreated> <UserIDUpdated>13</UserIDUpdated> <ValidFlag>true</ValidFlag> <ArticleText>sample string 6</ArticleText> <ArticleTypeId>2</ArticleTypeId> <ArticleTypeName>sample string 7</ArticleTypeName> <Code>sample string 4</Code> <CorporationCode>sample string 5</CorporationCode> <Id>1</Id> <Name>sample string 3</Name> <Sequence>8</Sequence> </ArticleDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AsapResponseOfArticleDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| isSuccess | boolean |
None. |
|
| message | string |
None. |
|
| jsonObj | ArticleDTO |
None. |
|
| totalCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"isSuccess": true,
"message": "sample string 2",
"jsonObj": {
"Id": 1,
"ArticleTypeId": 2,
"Name": "sample string 3",
"Code": "sample string 4",
"CorporationCode": "sample string 5",
"ArticleText": "sample string 6",
"ArticleTypeName": "sample string 7",
"Sequence": 8,
"ValidFlag": true,
"DateCreated": "2025-10-30T10:03:49.0562638-07:00",
"DateUpdated": "2025-10-30T10:03:49.0562638-07:00",
"UserIDCreated": 12,
"UserIDUpdated": 13,
"CompanyCode": "sample string 14",
"IsExcludeDiscount": true
},
"totalCount": 3
}
application/xml, text/xml
Sample:
<AsapResponseOfArticleDTO3NYuOdgi 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:CompanyCode>sample string 14</d2p1:CompanyCode>
<d2p1:DateCreated>2025-10-30T10:03:49.0562638-07:00</d2p1:DateCreated>
<d2p1:DateUpdated>2025-10-30T10:03:49.0562638-07:00</d2p1:DateUpdated>
<d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
<d2p1:UserIDCreated>12</d2p1:UserIDCreated>
<d2p1:UserIDUpdated>13</d2p1:UserIDUpdated>
<d2p1:ValidFlag>true</d2p1:ValidFlag>
<d2p1:ArticleText>sample string 6</d2p1:ArticleText>
<d2p1:ArticleTypeId>2</d2p1:ArticleTypeId>
<d2p1:ArticleTypeName>sample string 7</d2p1:ArticleTypeName>
<d2p1:Code>sample string 4</d2p1:Code>
<d2p1:CorporationCode>sample string 5</d2p1:CorporationCode>
<d2p1:Id>1</d2p1:Id>
<d2p1:Name>sample string 3</d2p1:Name>
<d2p1:Sequence>8</d2p1:Sequence>
</jsonObj>
<message>sample string 2</message>
<totalCount>3</totalCount>
</AsapResponseOfArticleDTO3NYuOdgi>