PUT api/v1/JournalItemFolders

Request Information

URI Parameters

None.

Body Parameters

JournalItemFolder
NameDescriptionTypeAdditional information
ID

integer

None.

JournalItemID

string

None.

ParentID

integer

None.

Name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "JournalItemID": "sample string 2",
  "ParentID": 1,
  "Name": "sample string 3"
}

application/xml, text/xml

Sample:
<JournalItemFolder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WorkPointEMM.API.Model">
  <ID>1</ID>
  <JournalItemID>sample string 2</JournalItemID>
  <Name>sample string 3</Name>
  <ParentID>1</ParentID>
</JournalItemFolder>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ServiceResponseOfInt32
NameDescriptionTypeAdditional information
Data

integer

None.

Error

ServiceError

None.

IsError

boolean

None.

Warning

string

None.

Misc1

Object

None.

Misc2

Object

None.

Misc3

Object

None.

Exception

Exception

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": 1,
  "Error": {
    "Message": "sample string 1",
    "ErrorNumber": 2,
    "AddtionalInfo": {
      "sample string 1": "sample string 2",
      "sample string 3": "sample string 4"
    },
    "TimeStamp": "2024-11-21T09:35:45.3595353+00:00"
  },
  "IsError": true,
  "Warning": "sample string 3",
  "Misc1": {},
  "Misc2": {},
  "Misc3": {},
  "Exception": {
    "ClassName": "System.Exception",
    "Message": null,
    "Data": null,
    "InnerException": null,
    "HelpURL": "sample string 1",
    "StackTraceString": null,
    "RemoteStackTraceString": null,
    "RemoteStackIndex": 0,
    "ExceptionMethod": null,
    "HResult": 3,
    "Source": "sample string 2",
    "WatsonBuckets": null
  }
}

application/xml, text/xml

Sample:
<ServiceResponseOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.workpointemm.dk/API">
  <Data>1</Data>
  <Error>
    <AddtionalInfo xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value>sample string 2</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value>sample string 4</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </AddtionalInfo>
    <ErrorNumber>2</ErrorNumber>
    <Message>sample string 1</Message>
    <TimeStamp>2024-11-21T09:35:45.3595353+00:00</TimeStamp>
  </Error>
  <Exception xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <ClassName xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">System.Exception</ClassName>
    <Message i:nil="true" xmlns="" />
    <Data i:nil="true" xmlns="" />
    <InnerException i:nil="true" xmlns="" />
    <HelpURL xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 1</HelpURL>
    <StackTraceString i:nil="true" xmlns="" />
    <RemoteStackTraceString i:nil="true" xmlns="" />
    <RemoteStackIndex xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">0</RemoteStackIndex>
    <ExceptionMethod i:nil="true" xmlns="" />
    <HResult xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">3</HResult>
    <Source xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</Source>
    <WatsonBuckets i:nil="true" xmlns="" />
  </Exception>
  <IsError>true</IsError>
  <Misc1 />
  <Misc2 />
  <Misc3 />
  <Warning>sample string 3</Warning>
</ServiceResponseOfint>