POST api/AuthorityToDeal/CreateOrUpdate

Request Information

URI Parameters

None.

Body Parameters

AuthorityToDeal
NameDescriptionTypeAdditional 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": "381e60a4-0708-4f36-affa-721b858cb8ce",
  "CustomerId": "150ae180-0321-4c22-8a23-ef88022fa128",
  "DateFrom": "2025-07-07T15:21:49.5017936+01:00",
  "DateOfBirth": "2025-07-07T15:21:49.5017936+01:00",
  "DateTo": "2025-07-07T15:21:49.5017936+01:00",
  "FirstName": "sample string 2",
  "Id": "e6dbc261-e81d-46fa-aa03-b0fac9f6f81c",
  "LastName": "sample string 3",
  "PolicyId": "4e0a24af-4a87-4fa0-ac43-99e7648c3c17",
  "PolicyNo": "sample string 4",
  "RelationshipId": "4b757b6f-f9bf-479c-8891-2ace376ff542",
  "TitleId": "9955363d-984f-4cd0-9042-256d40754058"
}

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>381e60a4-0708-4f36-affa-721b858cb8ce</AuthorityTypeId>
  <CustomerId>150ae180-0321-4c22-8a23-ef88022fa128</CustomerId>
  <DateFrom>2025-07-07T15:21:49.5017936+01:00</DateFrom>
  <DateOfBirth>2025-07-07T15:21:49.5017936+01:00</DateOfBirth>
  <DateTo>2025-07-07T15:21:49.5017936+01:00</DateTo>
  <FirstName>sample string 2</FirstName>
  <Id>e6dbc261-e81d-46fa-aa03-b0fac9f6f81c</Id>
  <LastName>sample string 3</LastName>
  <PolicyId>4e0a24af-4a87-4fa0-ac43-99e7648c3c17</PolicyId>
  <PolicyNo>sample string 4</PolicyNo>
  <RelationshipId>4b757b6f-f9bf-479c-8891-2ace376ff542</RelationshipId>
  <TitleId>9955363d-984f-4cd0-9042-256d40754058</TitleId>
</AuthorityToDeal>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.