PUT api/Documents/UpdateOne?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Document_InsertBinddingModel
NameDescriptionTypeAdditional information
TypeId

byte

Required

LinkId

integer

Required

FileURL

string

Required

Name

string

None.

Description

string

None.

TypeDocId

byte

Required

IsImage

boolean

Required

Request Formats

application/json, text/json

Sample:
{
  "typeId": 64,
  "linkId": 2,
  "fileURL": "sample string 3",
  "name": "sample string 4",
  "description": "sample string 5",
  "typeDocId": 64,
  "isImage": true
}

application/xml, text/xml

Sample:
<Document_InsertBinddingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgencyWebAPI.Models.Document">
  <Description>sample string 5</Description>
  <FileURL>sample string 3</FileURL>
  <IsImage>true</IsImage>
  <LinkId>2</LinkId>
  <Name>sample string 4</Name>
  <TypeDocId>64</TypeDocId>
  <TypeId>64</TypeId>
</Document_InsertBinddingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.