POST Setup/FileType?validateOnly={validateOnly}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
validateOnly | boolean |
Default value is False |
Body Parameters
FileTypeDTOName | Description | Type | Additional 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:49:56.4189846+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:49:56 AM" }, "lastUpdated": { "dateUtc": "2024-12-04T07:49:56.4189846+00:00", "userName": "sample string 2", "summary": "sample string 2 on 12/4/2024 7:49:56 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:49:56.4189846+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:49:56.4189846+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[ik�;.�Q�ʸh�OӤ�N�A���߈&���m�=�����c���b��������7AC6���rI�}a���&����y.ȓ������y}���`� ȠA�a�S���� o�@�?����-�Q1��d1��k�Ŕ}o��$9�`I,KCk%�j 䀫��j�G����X�g�k�i�*c:�y�I���-r��}��f�;�U�M.����9'!�}v��
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |