DELETE api/Account/{accountNumber}/DeleteName
Deletes a name from the account
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| accountNumber |
The account number |
string |
Required |
Body Parameters
The name object to delete
NameDto| Name | Description | Type | Additional information |
|---|---|---|---|
| FirstName |
The first name |
string |
None. |
| LastName |
The last name |
string |
None. |
| MiddleName |
The middle name |
string |
None. |
| Sequence |
The order the name should appear on the account |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"FirstName": "sample string 1",
"LastName": "sample string 2",
"MiddleName": "sample string 3",
"Sequence": 4
}
application/xml, text/xml
Sample:
<NameDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestAPI.Models"> <FirstName>sample string 1</FirstName> <LastName>sample string 2</LastName> <MiddleName>sample string 3</MiddleName> <Sequence>4</Sequence> </NameDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
A boolean indicating success
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.