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": "1a19ecf5-d17b-4a45-92be-8a7bef693b66",
"CustomerId": "c1e0c7de-40d0-4f75-8ed8-1c65304fde54",
"DateFrom": "2026-03-23T20:15:31.360166+00:00",
"DateOfBirth": "2026-03-23T20:15:31.360166+00:00",
"DateTo": "2026-03-23T20:15:31.360166+00:00",
"FirstName": "sample string 2",
"Id": "3bc3f2ee-baa8-47e1-9ab2-e4f64aa4d113",
"LastName": "sample string 3",
"PolicyId": "3dda9c04-4bfe-4862-aac3-b22b7271f9a0",
"PolicyNo": "sample string 4",
"RelationshipId": "e1009e2d-4c04-4d53-affb-39d113f8a423",
"TitleId": "14ed3fc7-f659-4538-97bf-dd5b60dbd25b"
}
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>1a19ecf5-d17b-4a45-92be-8a7bef693b66</AuthorityTypeId> <CustomerId>c1e0c7de-40d0-4f75-8ed8-1c65304fde54</CustomerId> <DateFrom>2026-03-23T20:15:31.360166+00:00</DateFrom> <DateOfBirth>2026-03-23T20:15:31.360166+00:00</DateOfBirth> <DateTo>2026-03-23T20:15:31.360166+00:00</DateTo> <FirstName>sample string 2</FirstName> <Id>3bc3f2ee-baa8-47e1-9ab2-e4f64aa4d113</Id> <LastName>sample string 3</LastName> <PolicyId>3dda9c04-4bfe-4862-aac3-b22b7271f9a0</PolicyId> <PolicyNo>sample string 4</PolicyNo> <RelationshipId>e1009e2d-4c04-4d53-affb-39d113f8a423</RelationshipId> <TitleId>14ed3fc7-f659-4538-97bf-dd5b60dbd25b</TitleId> </AuthorityToDeal>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.