PUT Setup/FileType/{fileTypeID}?validateOnly={validateOnly}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
fileTypeID

integer

Required

validateOnly

boolean

Default value is False

Body Parameters

FileTypeDTO
NameDescriptionTypeAdditional information
FileTypeID

integer

None.

TypeName

string

None.

TypeDescription

string

None.

RecordType

RecordType

None.

FileExtensions

Collection of string

None.

MaxSizeKB

integer

None.

MaxSizeKBAllowed

unsigned integer

None.

SortOrder

integer

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:
{
  "fileTypeID": 1,
  "typeName": "sample string 2",
  "typeDescription": "sample string 3",
  "recordType": 1,
  "fileExtensions": [
    "sample string 1",
    "sample string 2"
  ],
  "maxSizeKB": 4,
  "maxSizeKBAllowed": 5,
  "sortOrder": 6,
  "recordState": 1,
  "created": {
    "dateUtc": "2024-12-04T07:56:48.3711354+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 7:56:48 AM"
  },
  "lastUpdated": {
    "dateUtc": "2024-12-04T07:56:48.3711354+00:00",
    "userName": "sample string 2",
    "summary": "sample string 2 on 12/4/2024 7:56:48 AM"
  },
  "summary": "sample string 2"
}

application/xml, text/xml

Sample:
<FileTypeDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models">
  <Created>
    <DateUtc>2024-12-04T07:56:48.3711354+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </Created>
  <FileExtensions xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </FileExtensions>
  <FileTypeID>1</FileTypeID>
  <LastUpdated>
    <DateUtc>2024-12-04T07:56:48.3711354+00:00</DateUtc>
    <UserName>sample string 2</UserName>
  </LastUpdated>
  <MaxSizeKB>4</MaxSizeKB>
  <MaxSizeKBAllowed>5</MaxSizeKBAllowed>
  <Props xmlns:d2p1="http://schemas.datacontract.org/2004/07/ProcuraGroup.Common" i:nil="true" />
  <RecordState>Active</RecordState>
  <RecordType>System</RecordType>
  <SortOrder>6</SortOrder>
  <TypeDescription>sample string 3</TypeDescription>
  <TypeName>sample string 2</TypeName>
</FileTypeDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/x-compressed-json

Sample:
�͐�N1E�y[ig:`����u���f�4M���D��e.�$��hB �����s�M�>>w�b.���@�R��#(��wYLd�WV��8�ؐ�
홧��&������&a3A=� "#�E�x�Y�w����G��s�

�:S��#$P���E����f��;0Y�R�ז��Q�\�GJ�\Wc!�Z^q�8�c���ĵ����7Z&ʡ��7�M�a_��1�:�_�\�`�
�]$

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.