POST Setup/Organization/File?validateOnly={validateOnly}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
validateOnly

boolean

Default value is False

Body Parameters

SystemFileDTO
NameDescriptionTypeAdditional information
SystemFileID

integer

None.

SystemFileKey

string

None.

FileTypeID

integer

None.

FileTypeName

string

None.

BinaryID

integer

None.

Description

string

None.

FileName

string

None.

FileExtension

string

None.

FileSize

integer

None.

FileDateUtc

date

None.

Props

Collection of Object

None.

Comments

string

None.

Data

string

None.

DataCompressionType

CompressionType

None.

DataProps

Collection of Object

None.

RecordState

RecordState

None.

Created

AuditDataDTO

None.

LastUpdated

AuditDataDTO

None.

Summary

string

None.

Request Formats

application/json, text/json

Sample:
{
  "systemFileID": 1,
  "systemFileKey": "sample string 2",
  "fileTypeID": 3,
  "fileTypeName": "sample string 4",
  "binaryID": 5,
  "description": "sample string 6",
  "fileName": "sample string 7",
  "fileExtension": "sample string 8",
  "fileSize": 9,
  "fileDateUtc": "2024-12-04T08:13:22.0937567+00:00",
  "comments": "sample string 11",
  "dataCompressionType": 1,
  "dataProps": [],
  "recordState": 1,
  "created": {
    "dateUtc": "2024-12-04T08:13:22.0937567+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:13:22 AM"
  },
  "lastUpdated": {
    "dateUtc": "2024-12-04T08:13:22.0937567+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:13:22 AM"
  },
  "summary": "sample string 7"
}

application/xml, text/xml

Sample:
<SystemFileDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models">
  <BinaryID>5</BinaryID>
  <Comments>sample string 11</Comments>
  <Created>
    <DateUtc>2024-12-04T08:13:22.0937567+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </Created>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.IO" i:nil="true" />
  <DataAsString i:nil="true" />
  <DataCompressionType>None</DataCompressionType>
  <DataProps xmlns:d2p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" />
  <Description>sample string 6</Description>
  <FileDateUtc>2024-12-04T08:13:22.0937567+00:00</FileDateUtc>
  <FileExtension>sample string 8</FileExtension>
  <FileName>sample string 7</FileName>
  <FileSize>9</FileSize>
  <FileTypeID>3</FileTypeID>
  <FileTypeName>sample string 4</FileTypeName>
  <LastUpdated>
    <DateUtc>2024-12-04T08:13:22.0937567+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </LastUpdated>
  <Props xmlns:d2p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" i:nil="true" />
  <RecordState>Active</RecordState>
  <SystemFileID>1</SystemFileID>
  <SystemFileKey>sample string 2</SystemFileKey>
</SystemFileDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/x-compressed-json

Sample:
�͑�J1�_%�խM��n��XEh{qw��f�\K�̃��+���]޼e��?�����|��K���
�~\\c�ԶA�S�3��S�6�=���Vj�E�U+]��Y5��)�i�M*{��%`��싞X��h_~+p�sʋ	�Zl�B�\p~J�y9��'�
J��2Zc� ����2�s��C�H�>�,��9c���!��q�:��G�r�5�}"�0�Σ�E���:�u��Ƨ�4� }69��C��ak��2�o��s�˸�

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.