GET api/NTSetting/GetPrompt?q={q}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
q

string

Required

Body Parameters

None.

Response Information

Resource Description

AsapResponseOfListOfPromptDTO
NameDescriptionTypeAdditional information
isSuccess

boolean

None.

message

string

None.

jsonObj

Collection of PromptDTO

None.

totalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "message": "sample string 2",
  "jsonObj": [
    {
      "Id": 1,
      "Type": 2,
      "TypeName": "sample string 3",
      "Sequence": 4,
      "Name": "sample string 5",
      "Description": "sample string 6",
      "ReferenceId": 7,
      "ReferenceName": "sample string 8",
      "ValidFlag": true,
      "DateCreated": "2024-11-21T00:35:17.2406752-08:00",
      "DateUpdated": "2024-11-21T00:35:17.2563149-08:00",
      "UserIDCreated": 12,
      "UserIDUpdated": 13,
      "CompanyCode": "sample string 14",
      "IsExcludeDiscount": true
    },
    {
      "Id": 1,
      "Type": 2,
      "TypeName": "sample string 3",
      "Sequence": 4,
      "Name": "sample string 5",
      "Description": "sample string 6",
      "ReferenceId": 7,
      "ReferenceName": "sample string 8",
      "ValidFlag": true,
      "DateCreated": "2024-11-21T00:35:17.2406752-08:00",
      "DateUpdated": "2024-11-21T00:35:17.2563149-08:00",
      "UserIDCreated": 12,
      "UserIDUpdated": 13,
      "CompanyCode": "sample string 14",
      "IsExcludeDiscount": true
    }
  ],
  "totalCount": 3
}

application/xml, text/xml

Sample:
<AsapResponseOfArrayOfPromptDTO3NYuOdgi 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:PromptDTO>
      <d2p1:CompanyCode>sample string 14</d2p1:CompanyCode>
      <d2p1:DateCreated>2024-11-21T00:35:17.2406752-08:00</d2p1:DateCreated>
      <d2p1:DateUpdated>2024-11-21T00:35:17.2563149-08:00</d2p1:DateUpdated>
      <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
      <d2p1:UserIDCreated>12</d2p1:UserIDCreated>
      <d2p1:UserIDUpdated>13</d2p1:UserIDUpdated>
      <d2p1:ValidFlag>true</d2p1:ValidFlag>
      <d2p1:Description>sample string 6</d2p1:Description>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Name>sample string 5</d2p1:Name>
      <d2p1:ReferenceId>7</d2p1:ReferenceId>
      <d2p1:ReferenceName>sample string 8</d2p1:ReferenceName>
      <d2p1:Sequence>4</d2p1:Sequence>
      <d2p1:Type>2</d2p1:Type>
      <d2p1:TypeName>sample string 3</d2p1:TypeName>
    </d2p1:PromptDTO>
    <d2p1:PromptDTO>
      <d2p1:CompanyCode>sample string 14</d2p1:CompanyCode>
      <d2p1:DateCreated>2024-11-21T00:35:17.2406752-08:00</d2p1:DateCreated>
      <d2p1:DateUpdated>2024-11-21T00:35:17.2563149-08:00</d2p1:DateUpdated>
      <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
      <d2p1:UserIDCreated>12</d2p1:UserIDCreated>
      <d2p1:UserIDUpdated>13</d2p1:UserIDUpdated>
      <d2p1:ValidFlag>true</d2p1:ValidFlag>
      <d2p1:Description>sample string 6</d2p1:Description>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Name>sample string 5</d2p1:Name>
      <d2p1:ReferenceId>7</d2p1:ReferenceId>
      <d2p1:ReferenceName>sample string 8</d2p1:ReferenceName>
      <d2p1:Sequence>4</d2p1:Sequence>
      <d2p1:Type>2</d2p1:Type>
      <d2p1:TypeName>sample string 3</d2p1:TypeName>
    </d2p1:PromptDTO>
  </jsonObj>
  <message>sample string 2</message>
  <totalCount>3</totalCount>
</AsapResponseOfArrayOfPromptDTO3NYuOdgi>