Creates a journal.
Use this method if you want to сreate a journal. Id of a new object can be omitted. Permissions: All users.
Query Parameters
- Type: stringFields
This parameter is used to specify a comma delimited list of fields to return for an object. A field group can also be specified in the following format: 'fieldGroupName'. All fields for an object can be returned by specifying 'All'
'Default' group is always shown, even if Fields parameter is not specified. 'Lookup' group will be shown if a model is a child of required.
- Type: stringapi
-version
Headers
- Type: stringD
C Key The Integration Key generated for API Authentication by the PAR OPS support team as part of the integration/partnership process.
Body
Mandatory 'body' parameter, used to describe objects.
- Type:Properties: 7
Responses
Request Example for post/Journals
curl /Journals \
--request POST \
--header 'Content-Type: application/json-patch+json' \
--header 'DCKey: YOUR_SECRET_TOKEN' \
--data '[
{
"ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
"Template": {
"ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
"Collection": null,
"EntryOrder": null,
"Description": null,
"Account": {
"ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
"Description": null
},
"ValidateAccount": {
"ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
"Description": null
},
"Type": {
"ID": null,
"Description": null
},
"Mask": null,
"AddDateTime": false,
"MultipleEntries": false,
"Hidden": null,
"Frequency": {
"ID": "",
"Description": null
},
"FrequencyOption": [
1
],
"Image": {
"ID": "",
"Description": null
}
},
"Amount": null,
"Comment": null,
"AdditionalDateTime": "2019-01-03T04:39:40",
"BusinessDate": "2019-01-03",
"ImageBase64": null
}
]'
{
"Data": [
{
"ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
"Template": {
"ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
"Collection": null,
"EntryOrder": null,
"Description": null,
"Account": {
"ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
"Description": null
},
"ValidateAccount": {
"ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
"Description": null
},
"Type": {
"ID": null,
"Description": null
},
"Mask": null,
"AddDateTime": false,
"MultipleEntries": false,
"Hidden": null,
"Frequency": {
"ID": "string",
"Description": null
},
"FrequencyOption": [
1
],
"Image": {
"ID": "string",
"Description": null
}
},
"Amount": null,
"Comment": null,
"AdditionalDateTime": "2019-01-03T04:39:40",
"BusinessDate": "2019-01-03",
"ImageBase64": null
}
]
}