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": "4b76bb20-fedc-4f28-86a4-86f38a79cd2e",
"CustomerId": "18faf2e4-53d0-47af-a906-ba6ca6787f24",
"DateFrom": "2026-06-24T20:27:45.2376133+01:00",
"DateOfBirth": "2026-06-24T20:27:45.2376133+01:00",
"DateTo": "2026-06-24T20:27:45.2376133+01:00",
"FirstName": "sample string 2",
"Id": "e4d9d9fd-6f15-44a5-86fe-8f53b1d36bc3",
"LastName": "sample string 3",
"PolicyId": "35cc4729-dc1b-40e6-9933-efbe1f1ba33d",
"PolicyNo": "sample string 4",
"RelationshipId": "a4e2f942-20d6-46b3-be54-2b39549d7c5a",
"TitleId": "e3b2e27c-0615-4b2b-b351-bae4b6366f45"
}
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>4b76bb20-fedc-4f28-86a4-86f38a79cd2e</AuthorityTypeId> <CustomerId>18faf2e4-53d0-47af-a906-ba6ca6787f24</CustomerId> <DateFrom>2026-06-24T20:27:45.2376133+01:00</DateFrom> <DateOfBirth>2026-06-24T20:27:45.2376133+01:00</DateOfBirth> <DateTo>2026-06-24T20:27:45.2376133+01:00</DateTo> <FirstName>sample string 2</FirstName> <Id>e4d9d9fd-6f15-44a5-86fe-8f53b1d36bc3</Id> <LastName>sample string 3</LastName> <PolicyId>35cc4729-dc1b-40e6-9933-efbe1f1ba33d</PolicyId> <PolicyNo>sample string 4</PolicyNo> <RelationshipId>a4e2f942-20d6-46b3-be54-2b39549d7c5a</RelationshipId> <TitleId>e3b2e27c-0615-4b2b-b351-bae4b6366f45</TitleId> </AuthorityToDeal>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.