POST Setup/CodeTable?validateOnly={validateOnly}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
validateOnly

boolean

Default value is False

Body Parameters

CodeTableDTO
NameDescriptionTypeAdditional information
TableID

integer

None.

TableName

string

None.

AccessType

CodeTableAccessType

None.

Scope

SettingScope

None.

EntryAccessType

CodeTableEntryAccessType

None.

EntryValueMaxLength

integer

None.

EntryDescriptionMaxLength

integer

None.

EntryReferenceValueMaxLength

integer

None.

EntryLevels

byte

None.

EntrySortOrder

CodeTableEntrySortOrder

None.

EntryProps

Collection of Object

None.

Props

Collection of Object

None.

RecordState

RecordState

None.

Created

AuditDataDTO

None.

LastUpdated

AuditDataDTO

None.

Summary

string

None.

Request Formats

application/json, text/json

Sample:
{
  "tableID": 1,
  "tableName": "sample string 2",
  "accessType": 1,
  "scope": 1,
  "entryAccessType": 1,
  "entryValueMaxLength": 3,
  "entryDescriptionMaxLength": 4,
  "entryReferenceValueMaxLength": 5,
  "entryLevels": 64,
  "entrySortOrder": 1,
  "props": [],
  "recordState": 1,
  "created": {
    "dateUtc": "2024-12-04T08:02:46.2522494+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:02:46 AM"
  },
  "lastUpdated": {
    "dateUtc": "2024-12-04T08:02:46.2522494+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:02:46 AM"
  },
  "summary": "sample string 2"
}

application/xml, text/xml

Sample:
<CodeTableDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models">
  <AccessType>Hidden</AccessType>
  <Created>
    <DateUtc>2024-12-04T08:02:46.2522494+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </Created>
  <EntryAccessType>Hidden</EntryAccessType>
  <EntryDescriptionMaxLength>4</EntryDescriptionMaxLength>
  <EntryLevels>64</EntryLevels>
  <EntryProps xmlns:d2p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" i:nil="true" />
  <EntryReferenceValueMaxLength>5</EntryReferenceValueMaxLength>
  <EntrySortOrder>Alphabetical</EntrySortOrder>
  <EntryValueMaxLength>3</EntryValueMaxLength>
  <LastUpdated>
    <DateUtc>2024-12-04T08:02:46.2522494+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </LastUpdated>
  <Props xmlns:d2p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" />
  <RecordState>Active</RecordState>
  <Scope>Global</Scope>
  <TableID>1</TableID>
  <TableName>sample string 2</TableName>
</CodeTableDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/x-compressed-json

Sample:
�͐�J1�_%�խ�ƴhn�^�V��^�C̎u!��IV\J�̃��+�n#��޽}�o��o���mI?X���*����
����`��D��2hc0�uph��g�.Q7�I�ڭ�-.���6=�:��9FCuH�wߨ�����m��>����_���tMҰ:�=��/��x�VI�C*C��
��^l��/\�Q)F\����B�驘!/�	����6"}Ll�FS��1�X)�r�����l��}VǴ	��s��J��I'

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.