POST api/v1/SystemTestUnitCase/Add

Request Information

URI Parameters

None.

Body Parameters

SystemTestUnitCaseModel
NameDescriptionTypeAdditional information
Id

string

None.

SystemTestUnitId

string

None.

Input

string

None.

Output

string

None.

ResultTestCase

string

None.

DateTestCase

decimal number

None.

Note

string

None.

ColorCode

string

None.

Btn_Process

string

None.

Btn_SetCorrect

string

None.

RunByStaffEmail

string

None.

IsFailed

boolean

None.

UnitTestName

string

None.

FunctionName

string

None.

Log_UpdatedDate

decimal number

None.

Log_UpdatedBy

string

None.

Log_CreatedDate

decimal number

None.

Log_CreatedBy

string

None.

QualityCheckColor

string

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Error getting value from 'UnitTestName' on 'AllianceSolidAPI.Shared.Models.SystemTestUnitCaseModel'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Error getting value from 'UnitTestName' on 'AllianceSolidAPI.Shared.Models.SystemTestUnitCaseModel'.

application/xml, text/xml

Sample:
<SystemTestUnitCaseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
  <Btn_Process>sample string 8</Btn_Process>
  <Btn_SetCorrect>sample string 9</Btn_SetCorrect>
  <ColorCode>sample string 7</ColorCode>
  <DateTestCase>1.1</DateTestCase>
  <Id>sample string 1</Id>
  <Input>sample string 3</Input>
  <IsFailed>true</IsFailed>
  <Log_CreatedBy>sample string 12</Log_CreatedBy>
  <Log_CreatedDate>1.1</Log_CreatedDate>
  <Log_UpdatedBy>sample string 11</Log_UpdatedBy>
  <Log_UpdatedDate>1.1</Log_UpdatedDate>
  <Note>sample string 6</Note>
  <Output>sample string 4</Output>
  <QualityCheckColor>sample string 13</QualityCheckColor>
  <ResultTestCase>sample string 5</ResultTestCase>
  <RunByStaffEmail>sample string 10</RunByStaffEmail>
  <SystemTestUnitId>sample string 2</SystemTestUnitId>
</SystemTestUnitCaseModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SystemTestUnitCaseModel'.

Response Information

Resource Description

EzyResultObjectOfSystemTestUnitCaseModel
NameDescriptionTypeAdditional information
Data

SystemTestUnitCaseModel

None.

ExtraData

Dictionary of string [key] and Object [value]

None.

StartTime

decimal number

None.

EndTime

decimal number

None.

TotalMili

decimal number

None.

StatusCode

integer

None.

Msg

string

None.

MsgShowInUI

string

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Error getting value from 'UnitTestName' on 'AllianceSolidAPI.Shared.Models.SystemTestUnitCaseModel'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Error getting value from 'UnitTestName' on 'AllianceSolidAPI.Shared.Models.SystemTestUnitCaseModel'.

application/xml, text/xml

Sample:
<EzyResultObjectOfSystemTestUnitCaseModel3BwjWE5f xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ezy.Module.Library.Message">
  <Msg>sample string 5</Msg>
  <MsgShowInUI>sample string 6</MsgShowInUI>
  <StatusCode>4</StatusCode>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/AllianceSolidAPI.Shared.Models">
    <d2p1:Btn_Process>sample string 8</d2p1:Btn_Process>
    <d2p1:Btn_SetCorrect>sample string 9</d2p1:Btn_SetCorrect>
    <d2p1:ColorCode>sample string 7</d2p1:ColorCode>
    <d2p1:DateTestCase>1.1</d2p1:DateTestCase>
    <d2p1:Id>sample string 1</d2p1:Id>
    <d2p1:Input>sample string 3</d2p1:Input>
    <d2p1:IsFailed>true</d2p1:IsFailed>
    <d2p1:Log_CreatedBy>sample string 12</d2p1:Log_CreatedBy>
    <d2p1:Log_CreatedDate>1.1</d2p1:Log_CreatedDate>
    <d2p1:Log_UpdatedBy>sample string 11</d2p1:Log_UpdatedBy>
    <d2p1:Log_UpdatedDate>1.1</d2p1:Log_UpdatedDate>
    <d2p1:Note>sample string 6</d2p1:Note>
    <d2p1:Output>sample string 4</d2p1:Output>
    <d2p1:QualityCheckColor>sample string 13</d2p1:QualityCheckColor>
    <d2p1:ResultTestCase>sample string 5</d2p1:ResultTestCase>
    <d2p1:RunByStaffEmail>sample string 10</d2p1:RunByStaffEmail>
    <d2p1:SystemTestUnitId>sample string 2</d2p1:SystemTestUnitId>
  </Data>
  <EndTime>2.1</EndTime>
  <ExtraData xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
  <StartTime>1.1</StartTime>
  <TotalMili>3.1</TotalMili>
</EzyResultObjectOfSystemTestUnitCaseModel3BwjWE5f>