POST api/v1/AutoJournalEnabledForJournalItems

Request Information

URI Parameters

None.

Body Parameters

SetAutoJournalEnabledForJournalItemsParameter
NameDescriptionTypeAdditional information
JournalItemIDList

Collection of string

None.

Enabled

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "JournalItemIDList": [
    "sample string 1",
    "sample string 2"
  ],
  "Enabled": true
}

application/xml, text/xml

Sample:
<SetAutoJournalEnabledForJournalItemsParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WorkPointEMM.API.Model">
  <Enabled>true</Enabled>
  <JournalItemIDList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </JournalItemIDList>
</SetAutoJournalEnabledForJournalItemsParameter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>