POST api/AuthorityToDeal/CreateOrUpdate
Request Information
URI Parameters
None.
Body Parameters
AuthorityToDeal| Name | Description | Type | Additional information |
|---|---|---|---|
| AuthorityTypeId | globally unique identifier |
None. |
|
| CustomerId | globally unique identifier |
None. |
|
| DateFrom | date |
None. |
|
| DateOfBirth | date |
None. |
|
| DateTo | date |
None. |
|
| FirstName | string |
None. |
|
| Id | globally unique identifier |
None. |
|
| LastName | string |
None. |
|
| PolicyId | globally unique identifier |
None. |
|
| PolicyNo | string |
None. |
|
| RelationshipId | globally unique identifier |
None. |
|
| TitleId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"AuthorityTypeId": "6c64215f-8c30-4592-9d69-717ec8a92167",
"CustomerId": "0a627e95-2035-4d71-a2f0-801e40ff9013",
"DateFrom": "2026-08-15T10:51:34.517187+01:00",
"DateOfBirth": "2026-08-15T10:51:34.517187+01:00",
"DateTo": "2026-08-15T10:51:34.517187+01:00",
"FirstName": "sample string 2",
"Id": "5811d3e9-5aed-4ad5-a90c-3ce374ca2aac",
"LastName": "sample string 3",
"PolicyId": "9499f1bf-20b7-405c-9a0a-4a706ee14513",
"PolicyNo": "sample string 4",
"RelationshipId": "7b203652-3bdd-4eaf-b00a-f109bb62b6cb",
"TitleId": "6f53f597-1803-41d0-94f6-915ef33ab037"
}
application/xml, text/xml
Sample:
<AuthorityToDeal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tss.Eitr.Customer.Agria.WebApi.Models"> <AuthorityTypeId>6c64215f-8c30-4592-9d69-717ec8a92167</AuthorityTypeId> <CustomerId>0a627e95-2035-4d71-a2f0-801e40ff9013</CustomerId> <DateFrom>2026-08-15T10:51:34.517187+01:00</DateFrom> <DateOfBirth>2026-08-15T10:51:34.517187+01:00</DateOfBirth> <DateTo>2026-08-15T10:51:34.517187+01:00</DateTo> <FirstName>sample string 2</FirstName> <Id>5811d3e9-5aed-4ad5-a90c-3ce374ca2aac</Id> <LastName>sample string 3</LastName> <PolicyId>9499f1bf-20b7-405c-9a0a-4a706ee14513</PolicyId> <PolicyNo>sample string 4</PolicyNo> <RelationshipId>7b203652-3bdd-4eaf-b00a-f109bb62b6cb</RelationshipId> <TitleId>6f53f597-1803-41d0-94f6-915ef33ab037</TitleId> </AuthorityToDeal>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.