POST api/Portal_Attachments

Request Information

URI Parameters

None.

Body Parameters

Portal_Attachments
NameDescriptionTypeAdditional information
AttachID

integer

None.

AttachType

string

Required

String length: inclusive between 0 and 30

AuthorizationID

string

String length: inclusive between 0 and 30

AttachTypeXrefID

string

String length: inclusive between 0 and 50

FileBinary

Collection of byte

None.

FileType

string

Required

String length: inclusive between 0 and 10

FileName

string

Required

String length: inclusive between 0 and 200

Added_By_ID

integer

None.

Added_On

date

None.

WorkflowNumber

string

String length: inclusive between 0 and 20

Added_By_Type

string

String length: inclusive between 0 and 50

ClientID

integer

None.

WebViewable

string

String length: inclusive between 0 and 1

ID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AttachID": 1,
  "AttachType": "sample string 2",
  "AuthorizationID": "sample string 3",
  "AttachTypeXrefID": "sample string 4",
  "FileBinary": "QEA=",
  "FileType": "sample string 5",
  "FileName": "sample string 6",
  "Added_By_ID": 1,
  "Added_On": "2025-05-15T16:27:08.3609809+00:00",
  "WorkflowNumber": "sample string 7",
  "Added_By_Type": "sample string 8",
  "ClientID": 1,
  "WebViewable": "sample string 9",
  "ID": 10
}

application/xml, text/xml

Sample:
<Portal_Attachments xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fabric">
  <Added_By_ID>1</Added_By_ID>
  <Added_By_Type>sample string 8</Added_By_Type>
  <Added_On>2025-05-15T16:27:08.3609809+00:00</Added_On>
  <AttachID>1</AttachID>
  <AttachType>sample string 2</AttachType>
  <AttachTypeXrefID>sample string 4</AttachTypeXrefID>
  <AuthorizationID>sample string 3</AuthorizationID>
  <ClientID>1</ClientID>
  <FileBinary>QEA=</FileBinary>
  <FileName>sample string 6</FileName>
  <FileType>sample string 5</FileType>
  <ID>10</ID>
  <WebViewable>sample string 9</WebViewable>
  <WorkflowNumber>sample string 7</WorkflowNumber>
</Portal_Attachments>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Portal_Attachments
NameDescriptionTypeAdditional information
AttachID

integer

None.

AttachType

string

Required

String length: inclusive between 0 and 30

AuthorizationID

string

String length: inclusive between 0 and 30

AttachTypeXrefID

string

String length: inclusive between 0 and 50

FileBinary

Collection of byte

None.

FileType

string

Required

String length: inclusive between 0 and 10

FileName

string

Required

String length: inclusive between 0 and 200

Added_By_ID

integer

None.

Added_On

date

None.

WorkflowNumber

string

String length: inclusive between 0 and 20

Added_By_Type

string

String length: inclusive between 0 and 50

ClientID

integer

None.

WebViewable

string

String length: inclusive between 0 and 1

ID

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "AttachID": 1,
  "AttachType": "sample string 2",
  "AuthorizationID": "sample string 3",
  "AttachTypeXrefID": "sample string 4",
  "FileBinary": "QEA=",
  "FileType": "sample string 5",
  "FileName": "sample string 6",
  "Added_By_ID": 1,
  "Added_On": "2025-05-15T16:27:08.3765795+00:00",
  "WorkflowNumber": "sample string 7",
  "Added_By_Type": "sample string 8",
  "ClientID": 1,
  "WebViewable": "sample string 9",
  "ID": 10
}

application/xml, text/xml

Sample:
<Portal_Attachments xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fabric">
  <Added_By_ID>1</Added_By_ID>
  <Added_By_Type>sample string 8</Added_By_Type>
  <Added_On>2025-05-15T16:27:08.3765795+00:00</Added_On>
  <AttachID>1</AttachID>
  <AttachType>sample string 2</AttachType>
  <AttachTypeXrefID>sample string 4</AttachTypeXrefID>
  <AuthorizationID>sample string 3</AuthorizationID>
  <ClientID>1</ClientID>
  <FileBinary>QEA=</FileBinary>
  <FileName>sample string 6</FileName>
  <FileType>sample string 5</FileType>
  <ID>10</ID>
  <WebViewable>sample string 9</WebViewable>
  <WorkflowNumber>sample string 7</WorkflowNumber>
</Portal_Attachments>