PUT api/v1/portals/{portalUid}/customer/diarytypes/{diaryTypeGuid}
Update a diary type in the given customer portal
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| portalUid |
the customer portal |
globally unique identifier |
Required |
| diaryTypeGuid |
the diary type to update |
globally unique identifier |
Required |
Body Parameters
the details to update
DiaryType| Name | Description | Type | Additional information |
|---|---|---|---|
| Name |
The name of the qualification. |
string |
Required String length: inclusive between 0 and 100 |
| DiaryTypeCategory |
The diary type category |
globally unique identifier |
Required |
| Portal |
The portal this diary type is related to |
globally unique identifier |
Required |
| Company |
The company this diary type is related to |
globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"DiaryTypeCategory": "4423eb07-ac25-4799-bca6-2f0c6ea8b6c2",
"Portal": "7ebf6a0d-c2b6-4d2a-8aa2-9d5e27bbb1d7",
"Company": "d2daeead-33a5-4e81-8be7-2001b35abc2e"
}
application/xml, text/xml
Sample:
<DiaryType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Eclipse.WebApi.Common.Models"> <Company>d2daeead-33a5-4e81-8be7-2001b35abc2e</Company> <DiaryTypeCategory>4423eb07-ac25-4799-bca6-2f0c6ea8b6c2</DiaryTypeCategory> <Name>sample string 1</Name> <Portal>7ebf6a0d-c2b6-4d2a-8aa2-9d5e27bbb1d7</Portal> </DiaryType>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
updated diary type
DiaryTypeViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Name |
The name. |
string |
None. |
| DiaryTypeGuid |
The unique guid |
globally unique identifier |
None. |
| Category |
THe category of the diary type |
DiaryTypeCategoryViewModel |
None. |
| Uid |
The GUID. |
globally unique identifier |
None. |
| Links |
The links. |
Collection of Link |
None. |
| DateUpdated |
Last time the record was updated |
date |
None. |
| UpdatedBy |
Who updated the record last |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Name": "sample string 1",
"DiaryTypeGuid": "a724d3bd-620f-4b69-a9f3-4dba86eb53ad",
"Category": {
"Name": "sample string 1",
"IsAvailable": true,
"Uid": "554742af-dc09-4c0e-8edb-3bd7e823fca0",
"Links": [
{
"Href": "http://webapihelppage1.com",
"Method": "sample string 2",
"Rel": "sample string 3",
"Title": "sample string 4",
"Type": "sample string 5"
},
{
"Href": "http://webapihelppage1.com",
"Method": "sample string 2",
"Rel": "sample string 3",
"Title": "sample string 4",
"Type": "sample string 5"
}
],
"DateUpdated": "2025-12-21T17:51:14.4130098+00:00",
"UpdatedBy": "sample string 4"
},
"Uid": "f15a8ed1-f409-401e-a60f-a21a41b959f4",
"Links": [
{
"Href": "http://webapihelppage1.com",
"Method": "sample string 2",
"Rel": "sample string 3",
"Title": "sample string 4",
"Type": "sample string 5"
},
{
"Href": "http://webapihelppage1.com",
"Method": "sample string 2",
"Rel": "sample string 3",
"Title": "sample string 4",
"Type": "sample string 5"
}
],
"DateUpdated": "2025-12-21T17:51:14.4130098+00:00",
"UpdatedBy": "sample string 4"
}
application/xml, text/xml
Sample:
<DiaryTypeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Eclipse.WebApi.Common.ViewModels">
<DateUpdated>2025-12-21T17:51:14.4130098+00:00</DateUpdated>
<Links xmlns:d2p1="http://schemas.datacontract.org/2004/07/Eclipse.WebApi.Common.Models">
<d2p1:Link>
<d2p1:Href>http://webapihelppage1.com/</d2p1:Href>
<d2p1:Method>sample string 2</d2p1:Method>
<d2p1:Rel>sample string 3</d2p1:Rel>
<d2p1:Title>sample string 4</d2p1:Title>
<d2p1:Type>sample string 5</d2p1:Type>
</d2p1:Link>
<d2p1:Link>
<d2p1:Href>http://webapihelppage1.com/</d2p1:Href>
<d2p1:Method>sample string 2</d2p1:Method>
<d2p1:Rel>sample string 3</d2p1:Rel>
<d2p1:Title>sample string 4</d2p1:Title>
<d2p1:Type>sample string 5</d2p1:Type>
</d2p1:Link>
</Links>
<Uid>f15a8ed1-f409-401e-a60f-a21a41b959f4</Uid>
<UpdatedBy>sample string 4</UpdatedBy>
<Category>
<DateUpdated>2025-12-21T17:51:14.4130098+00:00</DateUpdated>
<Links xmlns:d3p1="http://schemas.datacontract.org/2004/07/Eclipse.WebApi.Common.Models">
<d3p1:Link>
<d3p1:Href>http://webapihelppage1.com/</d3p1:Href>
<d3p1:Method>sample string 2</d3p1:Method>
<d3p1:Rel>sample string 3</d3p1:Rel>
<d3p1:Title>sample string 4</d3p1:Title>
<d3p1:Type>sample string 5</d3p1:Type>
</d3p1:Link>
<d3p1:Link>
<d3p1:Href>http://webapihelppage1.com/</d3p1:Href>
<d3p1:Method>sample string 2</d3p1:Method>
<d3p1:Rel>sample string 3</d3p1:Rel>
<d3p1:Title>sample string 4</d3p1:Title>
<d3p1:Type>sample string 5</d3p1:Type>
</d3p1:Link>
</Links>
<Uid>554742af-dc09-4c0e-8edb-3bd7e823fca0</Uid>
<UpdatedBy>sample string 4</UpdatedBy>
<IsAvailable>true</IsAvailable>
<Name>sample string 1</Name>
</Category>
<DiaryTypeGuid>a724d3bd-620f-4b69-a9f3-4dba86eb53ad</DiaryTypeGuid>
<Name>sample string 1</Name>
</DiaryTypeViewModel>