POST Add/JournalOnboard

Request Information

URI Parameters

None.

Body Parameters

Journals
NameDescriptionTypeAdditional information
JournalId

string

None.

JournalActivateDate

string

None.

JournalDetails

Collection of JournalDetails

None.

Request Formats

application/json, text/json

Sample:
{
  "JournalId": "sample string 1",
  "JournalActivateDate": "sample string 2",
  "JournalDetails": [
    {
      "TypeofQualityCheck": 1,
      "DepartmentId": 2,
      "NominationId": 3,
      "StatusId": 4,
      "StageId": [
        1,
        2
      ],
      "WorkFlowTypeId": 5,
      "CutoffArticleId": "sample string 6"
    },
    {
      "TypeofQualityCheck": 1,
      "DepartmentId": 2,
      "NominationId": 3,
      "StatusId": 4,
      "StageId": [
        1,
        2
      ],
      "WorkFlowTypeId": 5,
      "CutoffArticleId": "sample string 6"
    }
  ]
}

application/xml, text/xml

Sample:
<Journals xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Icodex.CQA.Interface.Business.Dtos.JournalOnboard">
  <JournalActivateDate>sample string 2</JournalActivateDate>
  <JournalDetails>
    <JournalDetails>
      <CutoffArticleId>sample string 6</CutoffArticleId>
      <DepartmentId>2</DepartmentId>
      <NominationId>3</NominationId>
      <StageId xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </StageId>
      <StatusId>4</StatusId>
      <TypeofQualityCheck>1</TypeofQualityCheck>
      <WorkFlowTypeId>5</WorkFlowTypeId>
    </JournalDetails>
    <JournalDetails>
      <CutoffArticleId>sample string 6</CutoffArticleId>
      <DepartmentId>2</DepartmentId>
      <NominationId>3</NominationId>
      <StageId xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </StageId>
      <StatusId>4</StatusId>
      <TypeofQualityCheck>1</TypeofQualityCheck>
      <WorkFlowTypeId>5</WorkFlowTypeId>
    </JournalDetails>
  </JournalDetails>
  <JournalId>sample string 1</JournalId>
</Journals>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.