POST api/NTSetting/UpdateComponentCertificate

Request Information

URI Parameters

None.

Body Parameters

Collection of MEComponentCertificateDTO
NameDescriptionTypeAdditional information
Id

integer

None.

ComponentId

integer

None.

MessageTemplate

string

String length: inclusive between 0 and 4000

CertificateTypeId

integer

None.

CertificateName

string

String length: inclusive between 0 and 250

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,
    "ComponentId": 2,
    "MessageTemplate": "sample string 3",
    "CertificateTypeId": 4,
    "CertificateName": "sample string 5",
    "ValidFlag": true,
    "DateCreated": "2024-11-21T00:29:39.1449999-08:00",
    "DateUpdated": "2024-11-21T00:29:39.1449999-08:00",
    "UserIDCreated": 9,
    "UserIDUpdated": 10,
    "CompanyCode": "sample string 11",
    "IsExcludeDiscount": true
  },
  {
    "Id": 1,
    "ComponentId": 2,
    "MessageTemplate": "sample string 3",
    "CertificateTypeId": 4,
    "CertificateName": "sample string 5",
    "ValidFlag": true,
    "DateCreated": "2024-11-21T00:29:39.1449999-08:00",
    "DateUpdated": "2024-11-21T00:29:39.1449999-08:00",
    "UserIDCreated": 9,
    "UserIDUpdated": 10,
    "CompanyCode": "sample string 11",
    "IsExcludeDiscount": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfMEComponentCertificateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">
  <MEComponentCertificateDTO>
    <CompanyCode>sample string 11</CompanyCode>
    <DateCreated>2024-11-21T00:29:39.1449999-08:00</DateCreated>
    <DateUpdated>2024-11-21T00:29:39.1449999-08:00</DateUpdated>
    <IsExcludeDiscount>true</IsExcludeDiscount>
    <UserIDCreated>9</UserIDCreated>
    <UserIDUpdated>10</UserIDUpdated>
    <ValidFlag>true</ValidFlag>
    <CertificateName>sample string 5</CertificateName>
    <CertificateTypeId>4</CertificateTypeId>
    <ComponentId>2</ComponentId>
    <Id>1</Id>
    <MessageTemplate>sample string 3</MessageTemplate>
  </MEComponentCertificateDTO>
  <MEComponentCertificateDTO>
    <CompanyCode>sample string 11</CompanyCode>
    <DateCreated>2024-11-21T00:29:39.1449999-08:00</DateCreated>
    <DateUpdated>2024-11-21T00:29:39.1449999-08:00</DateUpdated>
    <IsExcludeDiscount>true</IsExcludeDiscount>
    <UserIDCreated>9</UserIDCreated>
    <UserIDUpdated>10</UserIDUpdated>
    <ValidFlag>true</ValidFlag>
    <CertificateName>sample string 5</CertificateName>
    <CertificateTypeId>4</CertificateTypeId>
    <ComponentId>2</ComponentId>
    <Id>1</Id>
    <MessageTemplate>sample string 3</MessageTemplate>
  </MEComponentCertificateDTO>
</ArrayOfMEComponentCertificateDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AsapResponseOfListOfMEComponentCertificateDTO
NameDescriptionTypeAdditional information
isSuccess

boolean

None.

message

string

None.

jsonObj

Collection of MEComponentCertificateDTO

None.

totalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "message": "sample string 2",
  "jsonObj": [
    {
      "Id": 1,
      "ComponentId": 2,
      "MessageTemplate": "sample string 3",
      "CertificateTypeId": 4,
      "CertificateName": "sample string 5",
      "ValidFlag": true,
      "DateCreated": "2024-11-21T00:29:39.42949-08:00",
      "DateUpdated": "2024-11-21T00:29:39.42949-08:00",
      "UserIDCreated": 9,
      "UserIDUpdated": 10,
      "CompanyCode": "sample string 11",
      "IsExcludeDiscount": true
    },
    {
      "Id": 1,
      "ComponentId": 2,
      "MessageTemplate": "sample string 3",
      "CertificateTypeId": 4,
      "CertificateName": "sample string 5",
      "ValidFlag": true,
      "DateCreated": "2024-11-21T00:29:39.42949-08:00",
      "DateUpdated": "2024-11-21T00:29:39.42949-08:00",
      "UserIDCreated": 9,
      "UserIDUpdated": 10,
      "CompanyCode": "sample string 11",
      "IsExcludeDiscount": true
    }
  ],
  "totalCount": 3
}

application/xml, text/xml

Sample:
<AsapResponseOfArrayOfMEComponentCertificateDTO3NYuOdgi 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:MEComponentCertificateDTO>
      <d2p1:CompanyCode>sample string 11</d2p1:CompanyCode>
      <d2p1:DateCreated>2024-11-21T00:29:39.42949-08:00</d2p1:DateCreated>
      <d2p1:DateUpdated>2024-11-21T00:29:39.42949-08:00</d2p1:DateUpdated>
      <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
      <d2p1:UserIDCreated>9</d2p1:UserIDCreated>
      <d2p1:UserIDUpdated>10</d2p1:UserIDUpdated>
      <d2p1:ValidFlag>true</d2p1:ValidFlag>
      <d2p1:CertificateName>sample string 5</d2p1:CertificateName>
      <d2p1:CertificateTypeId>4</d2p1:CertificateTypeId>
      <d2p1:ComponentId>2</d2p1:ComponentId>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:MessageTemplate>sample string 3</d2p1:MessageTemplate>
    </d2p1:MEComponentCertificateDTO>
    <d2p1:MEComponentCertificateDTO>
      <d2p1:CompanyCode>sample string 11</d2p1:CompanyCode>
      <d2p1:DateCreated>2024-11-21T00:29:39.42949-08:00</d2p1:DateCreated>
      <d2p1:DateUpdated>2024-11-21T00:29:39.42949-08:00</d2p1:DateUpdated>
      <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
      <d2p1:UserIDCreated>9</d2p1:UserIDCreated>
      <d2p1:UserIDUpdated>10</d2p1:UserIDUpdated>
      <d2p1:ValidFlag>true</d2p1:ValidFlag>
      <d2p1:CertificateName>sample string 5</d2p1:CertificateName>
      <d2p1:CertificateTypeId>4</d2p1:CertificateTypeId>
      <d2p1:ComponentId>2</d2p1:ComponentId>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:MessageTemplate>sample string 3</d2p1:MessageTemplate>
    </d2p1:MEComponentCertificateDTO>
  </jsonObj>
  <message>sample string 2</message>
  <totalCount>3</totalCount>
</AsapResponseOfArrayOfMEComponentCertificateDTO3NYuOdgi>