POST api/AuthorityToDeal/CreateOrUpdate
Request Information
URI Parameters
None.
Body Parameters
AuthorityToDealName | 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": "f42539c2-e031-4642-946d-526a878312ef", "CustomerId": "36342163-3dd9-48fc-8358-e1028affd615", "DateFrom": "2025-09-13T03:06:01.243451+01:00", "DateOfBirth": "2025-09-13T03:06:01.243451+01:00", "DateTo": "2025-09-13T03:06:01.243451+01:00", "FirstName": "sample string 2", "Id": "35d78d80-c6ac-480f-92ef-9bcecdb3413a", "LastName": "sample string 3", "PolicyId": "fe40c844-3eba-4863-a814-a6436a505f84", "PolicyNo": "sample string 4", "RelationshipId": "48a8b151-5c2e-4907-ac86-2db24b5fe97d", "TitleId": "78406b88-1d01-4a29-b183-6c3d9b3f6029" }
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>f42539c2-e031-4642-946d-526a878312ef</AuthorityTypeId> <CustomerId>36342163-3dd9-48fc-8358-e1028affd615</CustomerId> <DateFrom>2025-09-13T03:06:01.243451+01:00</DateFrom> <DateOfBirth>2025-09-13T03:06:01.243451+01:00</DateOfBirth> <DateTo>2025-09-13T03:06:01.243451+01:00</DateTo> <FirstName>sample string 2</FirstName> <Id>35d78d80-c6ac-480f-92ef-9bcecdb3413a</Id> <LastName>sample string 3</LastName> <PolicyId>fe40c844-3eba-4863-a814-a6436a505f84</PolicyId> <PolicyNo>sample string 4</PolicyNo> <RelationshipId>48a8b151-5c2e-4907-ac86-2db24b5fe97d</RelationshipId> <TitleId>78406b88-1d01-4a29-b183-6c3d9b3f6029</TitleId> </AuthorityToDeal>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.