POST api/NTCosCompany/SaveQuestion

Request Information

URI Parameters

None.

Body Parameters

CompanyQuestionDTO
NameDescriptionTypeAdditional information
CompanyQuestionId

integer

None.

QuestionId

integer

None.

QuestionStatus

boolean

None.

QuestionDesc

string

String length: inclusive between 0 and 200

QuestionCode

string

String length: inclusive between 0 and 50

Screen

string

String length: inclusive between 0 and 250

Section

string

String length: inclusive between 0 and 50

IsNotification

boolean

None.

NotificationTypeId

integer

None.

RequiredStatus

boolean

None.

Sequence

integer

None.

CosEccRequired

boolean

None.

COSServiceId

integer

None.

COSSubServiceId

integer

None.

ServiceName

string

String length: inclusive between 0 and 50

SubServiceName

string

String length: inclusive between 0 and 50

SectionNo

integer

None.

ScreenNo

integer

None.

IsDefault

boolean

None.

IsDisabled

boolean

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:
{
  "CompanyQuestionId": 1,
  "QuestionId": 2,
  "QuestionStatus": true,
  "QuestionDesc": "sample string 4",
  "QuestionCode": "sample string 5",
  "Screen": "sample string 6",
  "Section": "sample string 7",
  "IsNotification": true,
  "NotificationTypeId": 1,
  "RequiredStatus": true,
  "Sequence": 1,
  "CosEccRequired": true,
  "COSServiceId": 1,
  "COSSubServiceId": 1,
  "ServiceName": "sample string 9",
  "SubServiceName": "sample string 10",
  "SectionNo": 1,
  "ScreenNo": 1,
  "IsDefault": true,
  "IsDisabled": true,
  "ValidFlag": true,
  "DateCreated": "2024-11-21T00:35:27.0202222-08:00",
  "DateUpdated": "2024-11-21T00:35:27.0202222-08:00",
  "UserIDCreated": 16,
  "UserIDUpdated": 17,
  "CompanyCode": "sample string 18",
  "IsExcludeDiscount": true
}

application/xml, text/xml

Sample:
<CompanyQuestionDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ASAP_BL.BL">
  <CompanyCode>sample string 18</CompanyCode>
  <DateCreated>2024-11-21T00:35:27.0202222-08:00</DateCreated>
  <DateUpdated>2024-11-21T00:35:27.0202222-08:00</DateUpdated>
  <IsExcludeDiscount>true</IsExcludeDiscount>
  <UserIDCreated>16</UserIDCreated>
  <UserIDUpdated>17</UserIDUpdated>
  <ValidFlag>true</ValidFlag>
  <COSServiceId>1</COSServiceId>
  <COSSubServiceId>1</COSSubServiceId>
  <CompanyQuestionId>1</CompanyQuestionId>
  <CosEccRequired>true</CosEccRequired>
  <IsDefault>true</IsDefault>
  <IsDisabled>true</IsDisabled>
  <IsNotification>true</IsNotification>
  <NotificationTypeId>1</NotificationTypeId>
  <QuestionCode>sample string 5</QuestionCode>
  <QuestionDesc>sample string 4</QuestionDesc>
  <QuestionId>2</QuestionId>
  <QuestionStatus>true</QuestionStatus>
  <RequiredStatus>true</RequiredStatus>
  <Screen>sample string 6</Screen>
  <ScreenNo>1</ScreenNo>
  <Section>sample string 7</Section>
  <SectionNo>1</SectionNo>
  <Sequence>1</Sequence>
  <ServiceName>sample string 9</ServiceName>
  <SubServiceName>sample string 10</SubServiceName>
</CompanyQuestionDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AsapResponseOfCompanyQuestionDTO
NameDescriptionTypeAdditional information
isSuccess

boolean

None.

message

string

None.

jsonObj

CompanyQuestionDTO

None.

totalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "message": "sample string 2",
  "jsonObj": {
    "CompanyQuestionId": 1,
    "QuestionId": 2,
    "QuestionStatus": true,
    "QuestionDesc": "sample string 4",
    "QuestionCode": "sample string 5",
    "Screen": "sample string 6",
    "Section": "sample string 7",
    "IsNotification": true,
    "NotificationTypeId": 1,
    "RequiredStatus": true,
    "Sequence": 1,
    "CosEccRequired": true,
    "COSServiceId": 1,
    "COSSubServiceId": 1,
    "ServiceName": "sample string 9",
    "SubServiceName": "sample string 10",
    "SectionNo": 1,
    "ScreenNo": 1,
    "IsDefault": true,
    "IsDisabled": true,
    "ValidFlag": true,
    "DateCreated": "2024-11-21T00:35:27.0514732-08:00",
    "DateUpdated": "2024-11-21T00:35:27.0514732-08:00",
    "UserIDCreated": 16,
    "UserIDUpdated": 17,
    "CompanyCode": "sample string 18",
    "IsExcludeDiscount": true
  },
  "totalCount": 3
}

application/xml, text/xml

Sample:
<AsapResponseOfCompanyQuestionDTO3NYuOdgi 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 18</d2p1:CompanyCode>
    <d2p1:DateCreated>2024-11-21T00:35:27.0514732-08:00</d2p1:DateCreated>
    <d2p1:DateUpdated>2024-11-21T00:35:27.0514732-08:00</d2p1:DateUpdated>
    <d2p1:IsExcludeDiscount>true</d2p1:IsExcludeDiscount>
    <d2p1:UserIDCreated>16</d2p1:UserIDCreated>
    <d2p1:UserIDUpdated>17</d2p1:UserIDUpdated>
    <d2p1:ValidFlag>true</d2p1:ValidFlag>
    <d2p1:COSServiceId>1</d2p1:COSServiceId>
    <d2p1:COSSubServiceId>1</d2p1:COSSubServiceId>
    <d2p1:CompanyQuestionId>1</d2p1:CompanyQuestionId>
    <d2p1:CosEccRequired>true</d2p1:CosEccRequired>
    <d2p1:IsDefault>true</d2p1:IsDefault>
    <d2p1:IsDisabled>true</d2p1:IsDisabled>
    <d2p1:IsNotification>true</d2p1:IsNotification>
    <d2p1:NotificationTypeId>1</d2p1:NotificationTypeId>
    <d2p1:QuestionCode>sample string 5</d2p1:QuestionCode>
    <d2p1:QuestionDesc>sample string 4</d2p1:QuestionDesc>
    <d2p1:QuestionId>2</d2p1:QuestionId>
    <d2p1:QuestionStatus>true</d2p1:QuestionStatus>
    <d2p1:RequiredStatus>true</d2p1:RequiredStatus>
    <d2p1:Screen>sample string 6</d2p1:Screen>
    <d2p1:ScreenNo>1</d2p1:ScreenNo>
    <d2p1:Section>sample string 7</d2p1:Section>
    <d2p1:SectionNo>1</d2p1:SectionNo>
    <d2p1:Sequence>1</d2p1:Sequence>
    <d2p1:ServiceName>sample string 9</d2p1:ServiceName>
    <d2p1:SubServiceName>sample string 10</d2p1:SubServiceName>
  </jsonObj>
  <message>sample string 2</message>
  <totalCount>3</totalCount>
</AsapResponseOfCompanyQuestionDTO3NYuOdgi>