POST api/NTCosCompany/SaveCorporationConfiguration
Request Information
URI Parameters
None.
Body Parameters
CorporationConfigurationDTO| Name | Description | Type | Additional information | 
|---|---|---|---|
| Id | integer | None. | |
| CorporationCode | string | String length: inclusive between 0 and 20 | |
| Key | string | String length: inclusive between 0 and 100 | |
| Value | string | String length: inclusive between 0 and 100 | |
| 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,
  "CorporationCode": "sample string 2",
  "Key": "sample string 3",
  "Value": "sample string 4",
  "ValidFlag": true,
  "DateCreated": "2025-10-30T23:11:50.0129798-07:00",
  "DateUpdated": "2025-10-30T23:11:50.0129798-07:00",
  "UserIDCreated": 8,
  "UserIDUpdated": 9,
  "CompanyCode": "sample string 10",
  "IsExcludeDiscount": true
}
        application/xml, text/xml
            Sample:
        <CorporationConfigurationDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL"> <CompanyCode>sample string 10</CompanyCode> <DateCreated>2025-10-30T23:11:50.0129798-07:00</DateCreated> <DateUpdated>2025-10-30T23:11:50.0129798-07:00</DateUpdated> <IsExcludeDiscount>true</IsExcludeDiscount> <UserIDCreated>8</UserIDCreated> <UserIDUpdated>9</UserIDUpdated> <ValidFlag>true</ValidFlag> <CorporationCode>sample string 2</CorporationCode> <Id>1</Id> <Key>sample string 3</Key> <Value>sample string 4</Value> </CorporationConfigurationDTO>
application/x-www-form-urlencoded
            Sample:
    
Sample not available.
Response Information
Resource Description
AsapResponseOfCorporationConfigurationDTO| Name | Description | Type | Additional information | 
|---|---|---|---|
| isSuccess | boolean | None. | |
| message | string | None. | |
| jsonObj | CorporationConfigurationDTO | None. | |
| totalCount | integer | None. | 
Response Formats
application/json, text/json
            Sample:
        
{
  "isSuccess": true,
  "message": "sample string 2",
  "jsonObj": {
    "Id": 1,
    "CorporationCode": "sample string 2",
    "Key": "sample string 3",
    "Value": "sample string 4",
    "ValidFlag": true,
    "DateCreated": "2025-10-30T23:11:50.0292735-07:00",
    "DateUpdated": "2025-10-30T23:11:50.0292735-07:00",
    "UserIDCreated": 8,
    "UserIDUpdated": 9,
    "CompanyCode": "sample string 10",
    "IsExcludeDiscount": true
  },
  "totalCount": 3
}
        application/xml, text/xml
            Sample:
<AsapResponseOfCorporationConfigurationDTO3NYuOdgi 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 10</d2p1:CompanyCode>
    <d2p1:DateCreated>2025-10-30T23:11:50.0292735-07:00</d2p1:DateCreated>
    <d2p1:DateUpdated>2025-10-30T23:11:50.0292735-07:00</d2p1:DateUpdated>
    <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
    <d2p1:UserIDCreated>8</d2p1:UserIDCreated>
    <d2p1:UserIDUpdated>9</d2p1:UserIDUpdated>
    <d2p1:ValidFlag>true</d2p1:ValidFlag>
    <d2p1:CorporationCode>sample string 2</d2p1:CorporationCode>
    <d2p1:Id>1</d2p1:Id>
    <d2p1:Key>sample string 3</d2p1:Key>
    <d2p1:Value>sample string 4</d2p1:Value>
  </jsonObj>
  <message>sample string 2</message>
  <totalCount>3</totalCount>
</AsapResponseOfCorporationConfigurationDTO3NYuOdgi>