POST Billings/JournalTypes?validateOnly={validateOnly}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
validateOnly

boolean

Default value is False

Body Parameters

JournalTypeDTO
NameDescriptionTypeAdditional information
JournalTypeID

integer

None.

JournalTypeName

string

None.

TransactionTypeIDs

Collection of integer

None.

AccessType

RecordAccessType

None.

RecordState

RecordState

None.

Created

AuditDataDTO

None.

LastUpdated

AuditDataDTO

None.

Props

Collection of Object

None.

Request Formats

application/json, text/json

Sample:
{
  "journalTypeID": 1,
  "journalTypeName": "sample string 2",
  "transactionTypeIDs": [
    1,
    2
  ],
  "accessType": 1,
  "recordState": 1,
  "created": {
    "dateUtc": "2024-12-04T08:05:43.2999509+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:05:43 AM"
  },
  "lastUpdated": {
    "dateUtc": "2024-12-04T08:05:43.2999509+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:05:43 AM"
  }
}

application/xml, text/xml

Sample:
<JournalTypeDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Billings.Models">
  <AccessType>Hidden</AccessType>
  <Created xmlns:d2p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models">
    <d2p1:DateUtc>2024-12-04T08:05:43.2999509+00:00</d2p1:DateUtc>
    <d2p1:UserName>sample string 2</d2p1:UserName>
  </Created>
  <JournalTypeID>1</JournalTypeID>
  <JournalTypeName>sample string 2</JournalTypeName>
  <LastUpdated xmlns:d2p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models">
    <d2p1:DateUtc>2024-12-04T08:05:43.2999509+00:00</d2p1:DateUtc>
    <d2p1:UserName>sample string 2</d2p1:UserName>
  </LastUpdated>
  <Props xmlns:d2p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" i:nil="true" />
  <RecordState>Active</RecordState>
  <TransactionTypeIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </TransactionTypeIDs>
</JournalTypeDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/x-compressed-json

Sample:
�͎�
�@�_���S7gs�`c��I%��Hr	��"���G��?� �v�3�|s�\{8խwT�]c�+Б�t�TY��T5�|�B����1�P���ɠ��T	d�e~��6oM��]�𺍷��A��"f(T�8Rc�S\h��x6QI��1!j�ٲ�?�p[U��L�NDjO���
�%��!k���s��s�

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, application/x-compressed-json

Sample:

Sample not available.