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": "3c13d9c2-d446-47e1-b3de-968420e83744",
"CustomerId": "f33b6fb5-b1f6-4d29-aead-7b36c5384e06",
"DateFrom": "2026-02-04T01:04:59.1521211+00:00",
"DateOfBirth": "2026-02-04T01:04:59.1521211+00:00",
"DateTo": "2026-02-04T01:04:59.1521211+00:00",
"FirstName": "sample string 2",
"Id": "859b4ef3-8549-4f01-b22a-f4498962820a",
"LastName": "sample string 3",
"PolicyId": "62259028-c0e2-425c-b8fa-f8eb58f1226b",
"PolicyNo": "sample string 4",
"RelationshipId": "0317bd95-7124-41b2-91fa-62174f8c567e",
"TitleId": "540d90e5-53aa-4add-81ee-d48e334d2c9c"
}
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>3c13d9c2-d446-47e1-b3de-968420e83744</AuthorityTypeId> <CustomerId>f33b6fb5-b1f6-4d29-aead-7b36c5384e06</CustomerId> <DateFrom>2026-02-04T01:04:59.1521211+00:00</DateFrom> <DateOfBirth>2026-02-04T01:04:59.1521211+00:00</DateOfBirth> <DateTo>2026-02-04T01:04:59.1521211+00:00</DateTo> <FirstName>sample string 2</FirstName> <Id>859b4ef3-8549-4f01-b22a-f4498962820a</Id> <LastName>sample string 3</LastName> <PolicyId>62259028-c0e2-425c-b8fa-f8eb58f1226b</PolicyId> <PolicyNo>sample string 4</PolicyNo> <RelationshipId>0317bd95-7124-41b2-91fa-62174f8c567e</RelationshipId> <TitleId>540d90e5-53aa-4add-81ee-d48e334d2c9c</TitleId> </AuthorityToDeal>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.