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": "c2214247-29bc-414d-84b5-a9e90967c413",
"CustomerId": "f8223495-8713-4f80-b743-1191eab089c7",
"DateFrom": "2026-05-09T13:01:54.554856+01:00",
"DateOfBirth": "2026-05-09T13:01:54.554856+01:00",
"DateTo": "2026-05-09T13:01:54.554856+01:00",
"FirstName": "sample string 2",
"Id": "c854faf7-e1a0-415e-bee0-c41276c56666",
"LastName": "sample string 3",
"PolicyId": "cc7f68e1-4c42-459c-989c-dc873492feff",
"PolicyNo": "sample string 4",
"RelationshipId": "c952d08a-25dc-403e-9a11-dba5c847a731",
"TitleId": "45ccd217-9d90-454b-b64e-326eae295a5c"
}
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>c2214247-29bc-414d-84b5-a9e90967c413</AuthorityTypeId> <CustomerId>f8223495-8713-4f80-b743-1191eab089c7</CustomerId> <DateFrom>2026-05-09T13:01:54.554856+01:00</DateFrom> <DateOfBirth>2026-05-09T13:01:54.554856+01:00</DateOfBirth> <DateTo>2026-05-09T13:01:54.554856+01:00</DateTo> <FirstName>sample string 2</FirstName> <Id>c854faf7-e1a0-415e-bee0-c41276c56666</Id> <LastName>sample string 3</LastName> <PolicyId>cc7f68e1-4c42-459c-989c-dc873492feff</PolicyId> <PolicyNo>sample string 4</PolicyNo> <RelationshipId>c952d08a-25dc-403e-9a11-dba5c847a731</RelationshipId> <TitleId>45ccd217-9d90-454b-b64e-326eae295a5c</TitleId> </AuthorityToDeal>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.