POST api/app/Schedule/AddAttachments

Request Information

URI Parameters

None.

Body Parameters

AddAttachmentBindingModel
NameDescriptionTypeAdditional information
ERPType

string

Required

ERPCCID

string

Required

TaskId

string

None.

ImageText

string

None.

Roles

string

None.

Groups

string

None.

Tags

string

None.

SourceId

string

None.

DocumentTypeCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ERPType": "sample string 1",
  "ERPCCID": "sample string 2",
  "TaskId": "sample string 3",
  "ImageText": "sample string 4",
  "Roles": "sample string 5",
  "Groups": "sample string 6",
  "Tags": "sample string 7",
  "SourceId": "sample string 8",
  "DocumentTypeCode": "sample string 9"
}

application/xml, text/xml

Sample:
<AddAttachmentBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Central.API.BindingModel">
  <RequestId xmlns="http://schemas.datacontract.org/2004/07/Central.API.Enterprise.BindingModels">b190ee7a-ea8e-4c27-9783-1e723f8bf9ca</RequestId>
  <DocumentTypeCode>sample string 9</DocumentTypeCode>
  <ERPCCID>sample string 2</ERPCCID>
  <ERPType>sample string 1</ERPType>
  <Groups>sample string 6</Groups>
  <ImageText>sample string 4</ImageText>
  <Roles>sample string 5</Roles>
  <SourceId>sample string 8</SourceId>
  <Tags>sample string 7</Tags>
  <TaskId>sample string 3</TaskId>
</AddAttachmentBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseModelOfScheduleDocument
NameDescriptionTypeAdditional information
ResponseTime

date

None.

ResponseCode

ResponseCode

None.

ResponseMessage

string

None.

ResponsePermission

string

None.

DataSet

ScheduleDocument

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseTime": "2026-02-17T07:26:49.7112272+00:00",
  "ResponseCode": 0,
  "ResponseMessage": "sample string 2",
  "ResponsePermission": "sample string 3",
  "DataSet": {
    "DocumentId": "sample string 1",
    "Title": "sample string 2",
    "Name": "sample string 3",
    "URL": "sample string 4",
    "ThumbnailURL": "sample string 5",
    "IsImage": true,
    "ERPType": 0,
    "ERPCCID": "sample string 7"
  }
}

application/xml, text/xml

Sample:
<ResponseModelOfScheduleDocumentGfGDKy70 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Central.API.Enterprise.BindingModels">
  <DataSet xmlns:d2p1="http://schemas.datacontract.org/2004/07/Central.API.DataProviders.Model">
    <d2p1:DocumentId>sample string 1</d2p1:DocumentId>
    <d2p1:ERPCCID>sample string 7</d2p1:ERPCCID>
    <d2p1:ERPType>All</d2p1:ERPType>
    <d2p1:IsImage>true</d2p1:IsImage>
    <d2p1:Name>sample string 3</d2p1:Name>
    <d2p1:ThumbnailURL>sample string 5</d2p1:ThumbnailURL>
    <d2p1:Title>sample string 2</d2p1:Title>
    <d2p1:URL>sample string 4</d2p1:URL>
  </DataSet>
  <ResponseCode>NoDataFound</ResponseCode>
  <ResponseMessage>sample string 2</ResponseMessage>
  <ResponsePermission>sample string 3</ResponsePermission>
  <ResponseTime>2026-02-17T07:26:49.7112272+00:00</ResponseTime>
</ResponseModelOfScheduleDocumentGfGDKy70>