POST toiminnanohjaus/{tehtavaid}/liitteet/lisaa
!!!Vain sisäiseen käyttöön!!! Lisää tehtävälle liitteen.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
tehtavaid | integer | Required |
Body Parameters
ApiFileBase64ContainerName | Description | Type | Additional information |
---|---|---|---|
FileName | Palauttaa tai asettaa tiedoston nimen. | string | RequiredMin length: 1 |
ContentType | Palauttaa tai asettaa tiedoston ContentType:n (MimeType). | string | None. |
Description | Palauttaa tai asettaa tiedoston kuvauksen. | string | Max length: 500 |
Base64Content | Palauttaa tai asettaa Base64 enkoodatun tiedoston sisällön. | string | Required |
Request Formats
application/json, text/json
Sample:
{ "FileName": "sample string 1", "ContentType": "sample string 2", "Description": "sample string 3", "Base64Content": "sample string 4" }
application/xml, text/xml
Sample:
<ApiFileBase64Container xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Agenteq.Tampuuri.ApplicationServiceApi.Contract"> <Base64Content>sample string 4</Base64Content> <ContentType>sample string 2</ContentType> <Description>sample string 3</Description> <FileName>sample string 1</FileName> </ApiFileBase64Container>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage
Name | 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. |