POST api/v1/SystemTestUnitCase/Duplicate/{Id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

string

Required

Body Parameters

None.

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>