GET Setup/Organization/File/Initialize?FileTypeID={FileTypeID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
FileTypeID

integer

None.

Body Parameters

None.

Response Information

Resource Description

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.

Response 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:02:31.8480926+00:00",
  "comments": "sample string 11",
  "dataCompressionType": 1,
  "dataProps": [],
  "recordState": 1,
  "created": {
    "dateUtc": "2024-12-04T08:02:31.8480926+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:02:31 AM"
  },
  "lastUpdated": {
    "dateUtc": "2024-12-04T08:02:31.8480926+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 8:02:31 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:02:31.8480926+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:02:31.8480926+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:02:31.8480926+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/pdf, image/jpeg, image/png, image/bmp, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel, application/msexcel, application/x-msexcel, application/x-ms-excel, application/x-excel, application/x-dos_ms_excel, application/xls, application/x-xls, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/msword, ext/csv, application/octet-stream, application/zip

Sample:

application/x-compressed-json

Sample:
�͑MN�0��b͖��nh��	!R�U��$���v%BՓ��H\;D)a�����{o�㏷���TW����,�qq�-���
��τCOQ۴�3̾�;�p���Z�6�g��+'m�F�y>����˗�ڏً�X��h_~+p�s��	��ohQR^��i�t��'���F{e�B� ����"���C�H��V��Ѷ{��ae\��s'W㱆��?L���Fw�~�kj�h��4����&�p̠>lm�_��ʹ��'���8�