POST api/v1/BatchJobLog/Add

Request Information

URI Parameters

None.

Body Parameters

BatchJobLogModel
NameDescriptionTypeAdditional information
Id

string

None.

BatchJobId

string

None.

BatchJobName

string

None.

WorkFrom

decimal number

None.

WorkTo

decimal number

None.

IsFinished

boolean

None.

IsSuccess

boolean

None.

Errors

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "BatchJobId": "sample string 2",
  "BatchJobName": "sample string 3",
  "WorkFrom": 1.1,
  "WorkTo": 1.1,
  "IsFinished": true,
  "IsSuccess": true,
  "Errors": "sample string 4"
}

application/xml, text/xml

Sample:
<BatchJobLogModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ezy.APIService.AppSystemService.Models">
  <BatchJobId>sample string 2</BatchJobId>
  <BatchJobName>sample string 3</BatchJobName>
  <Errors>sample string 4</Errors>
  <Id>sample string 1</Id>
  <IsFinished>true</IsFinished>
  <IsSuccess>true</IsSuccess>
  <WorkFrom>1.1</WorkFrom>
  <WorkTo>1.1</WorkTo>
</BatchJobLogModel>

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 'BatchJobLogModel'.

Response Information

Resource Description

EzyResultObjectOfBatchJobLogModel
NameDescriptionTypeAdditional information
Data

BatchJobLogModel

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, text/json

Sample:
{
  "Data": {
    "Id": "sample string 1",
    "BatchJobId": "sample string 2",
    "BatchJobName": "sample string 3",
    "WorkFrom": 1.1,
    "WorkTo": 1.1,
    "IsFinished": true,
    "IsSuccess": true,
    "Errors": "sample string 4"
  },
  "ExtraData": null,
  "StartTime": 1.1,
  "EndTime": 2.1,
  "TotalMili": 3.1,
  "StatusCode": 4,
  "Msg": "sample string 5",
  "MsgShowInUI": "sample string 6"
}

application/xml, text/xml

Sample:
<EzyResultObjectOfBatchJobLogModelOtoXqmQY 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/Ezy.APIService.AppSystemService.Models">
    <d2p1:BatchJobId>sample string 2</d2p1:BatchJobId>
    <d2p1:BatchJobName>sample string 3</d2p1:BatchJobName>
    <d2p1:Errors>sample string 4</d2p1:Errors>
    <d2p1:Id>sample string 1</d2p1:Id>
    <d2p1:IsFinished>true</d2p1:IsFinished>
    <d2p1:IsSuccess>true</d2p1:IsSuccess>
    <d2p1:WorkFrom>1.1</d2p1:WorkFrom>
    <d2p1:WorkTo>1.1</d2p1:WorkTo>
  </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>
</EzyResultObjectOfBatchJobLogModelOtoXqmQY>