POST api/Photos/AddProjectPhotos

Request Information

URI Parameters

None.

Body Parameters

Collection of ProjectPhoto
NameDescriptionTypeAdditional information
ProjectId

string

None.

Id

string

None.

DateCreatedUtc

date

None.

Container

string

Required

String length: inclusive between 0 and 500

Blob

string

Required

String length: inclusive between 0 and 500

Url

string

Required

String length: inclusive between 0 and 500

Request Formats

application/json, text/json

Sample:
[
  {
    "projectId": "sample string 1",
    "id": "sample string 2",
    "dateCreatedUtc": "2026-01-14T03:23:13.921374+00:00",
    "container": "sample string 4",
    "blob": "sample string 5",
    "url": "sample string 6"
  },
  {
    "projectId": "sample string 1",
    "id": "sample string 2",
    "dateCreatedUtc": "2026-01-14T03:23:13.921374+00:00",
    "container": "sample string 4",
    "blob": "sample string 5",
    "url": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfProjectPhoto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Klutchn.Poco.Models">
  <ProjectPhoto>
    <Blob xmlns="http://schemas.datacontract.org/2004/07/Klutchn.Poco.Models.Bases">sample string 5</Blob>
    <Container xmlns="http://schemas.datacontract.org/2004/07/Klutchn.Poco.Models.Bases">sample string 4</Container>
    <DateCreatedUtc xmlns="http://schemas.datacontract.org/2004/07/Klutchn.Poco.Models.Bases">2026-01-14T03:23:13.921374+00:00</DateCreatedUtc>
    <Id xmlns="http://schemas.datacontract.org/2004/07/Klutchn.Poco.Models.Bases">sample string 2</Id>
    <Url xmlns="http://schemas.datacontract.org/2004/07/Klutchn.Poco.Models.Bases">sample string 6</Url>
    <ProjectId>sample string 1</ProjectId>
  </ProjectPhoto>
  <ProjectPhoto>
    <Blob xmlns="http://schemas.datacontract.org/2004/07/Klutchn.Poco.Models.Bases">sample string 5</Blob>
    <Container xmlns="http://schemas.datacontract.org/2004/07/Klutchn.Poco.Models.Bases">sample string 4</Container>
    <DateCreatedUtc xmlns="http://schemas.datacontract.org/2004/07/Klutchn.Poco.Models.Bases">2026-01-14T03:23:13.921374+00:00</DateCreatedUtc>
    <Id xmlns="http://schemas.datacontract.org/2004/07/Klutchn.Poco.Models.Bases">sample string 2</Id>
    <Url xmlns="http://schemas.datacontract.org/2004/07/Klutchn.Poco.Models.Bases">sample string 6</Url>
    <ProjectId>sample string 1</ProjectId>
  </ProjectPhoto>
</ArrayOfProjectPhoto>

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.