POST api/Person/PostPhoto
Adds a new Photo to the database for the specified person. The photo is now the needed data for the person case photo record.
Request Information
URI Parameters
None.
Body Parameters
EventPhoto| Name | Description | Type | Additional information |
|---|---|---|---|
| EventId | integer |
None. |
|
| PhotoId | integer |
None. |
|
| PhotoPartiId | integer |
None. |
|
| PhotoType | integer |
None. |
|
| PhotoTitle | string |
None. |
|
| PhotoDescription | string |
None. |
|
| Photo | string |
None. |
|
| Longitude | string |
None. |
|
| Latitude | string |
None. |
|
| TakenDate | date |
None. |
|
| CreatedDate | date |
None. |
|
| SessionInfo | SessionInfo |
None. |
Request Formats
application/json, text/json
Sample:
{
"EventId": 1,
"PhotoId": 2,
"PhotoPartiId": 3,
"PhotoType": 4,
"PhotoTitle": "sample string 5",
"PhotoDescription": "sample string 6",
"Photo": "sample string 7",
"Longitude": "sample string 8",
"Latitude": "sample string 9",
"TakenDate": "2025-12-23T06:27:49.1752327-06:00",
"CreatedDate": "2025-12-23T06:27:49.1752327-06:00",
"SessionInfo": {
"BaseCatgId": 1,
"BaseCatgCode": 2,
"DesigneeId": 3,
"DesigneeName": "sample string 4",
"Desktop": "sample string 5",
"EventCatgId": 6,
"EventCatgCode": 7,
"EventCatgStatusCode": 8,
"ErrorCode": "sample string 9",
"ErrorDescription": "sample string 10",
"NetworkId": "sample string 11",
"OrgEntityId": 12,
"OrgRoleCode": 13,
"OrgRoleType": "sample string 14",
"WorkerName": "sample string 15",
"WorkerId": 16,
"Parameters": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
}
}
}
application/xml, text/xml
Sample:
<EventPhoto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SACWISAPI.Models">
<CreatedDate>2025-12-23T06:27:49.1752327-06:00</CreatedDate>
<EventId>1</EventId>
<Latitude>sample string 9</Latitude>
<Longitude>sample string 8</Longitude>
<Photo>sample string 7</Photo>
<PhotoDescription>sample string 6</PhotoDescription>
<PhotoId>2</PhotoId>
<PhotoPartiId>3</PhotoPartiId>
<PhotoTitle>sample string 5</PhotoTitle>
<PhotoType>4</PhotoType>
<SessionInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/SACWISAPI">
<d2p1:BaseCatgCode>2</d2p1:BaseCatgCode>
<d2p1:BaseCatgId>1</d2p1:BaseCatgId>
<d2p1:DesigneeId>3</d2p1:DesigneeId>
<d2p1:DesigneeName>sample string 4</d2p1:DesigneeName>
<d2p1:Desktop>sample string 5</d2p1:Desktop>
<d2p1:ErrorCode>sample string 9</d2p1:ErrorCode>
<d2p1:ErrorDescription>sample string 10</d2p1:ErrorDescription>
<d2p1:EventCatgCode>7</d2p1:EventCatgCode>
<d2p1:EventCatgId>6</d2p1:EventCatgId>
<d2p1:EventCatgStatusCode>8</d2p1:EventCatgStatusCode>
<d2p1:NetworkId>sample string 11</d2p1:NetworkId>
<d2p1:OrgEntityId>12</d2p1:OrgEntityId>
<d2p1:OrgRoleCode>13</d2p1:OrgRoleCode>
<d2p1:OrgRoleType>sample string 14</d2p1:OrgRoleType>
<d2p1:Parameters xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:KeyValueOfstringstring>
<d3p1:Key>sample string 1</d3p1:Key>
<d3p1:Value>sample string 2</d3p1:Value>
</d3p1:KeyValueOfstringstring>
<d3p1:KeyValueOfstringstring>
<d3p1:Key>sample string 3</d3p1:Key>
<d3p1:Value>sample string 4</d3p1:Value>
</d3p1:KeyValueOfstringstring>
</d2p1:Parameters>
<d2p1:WorkerId>16</d2p1:WorkerId>
<d2p1:WorkerName>sample string 15</d2p1:WorkerName>
</SessionInfo>
<TakenDate>2025-12-23T06:27:49.1752327-06:00</TakenDate>
</EventPhoto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
person record
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.