PUT v1/Agency/{AgencyId}/Contact/{ContactId}
Update Agency Contact
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
AgencyId | integer |
Required |
|
ContactId | integer |
Required |
Body Parameters
AgencyContactDTOName | Description | Type | Additional information |
---|---|---|---|
ContactType | AgentSystemEntityTypeEnum |
Required |
|
FirstName | string |
String length: inclusive between 0 and 30 |
|
LastName | string |
String length: inclusive between 0 and 30 |
|
CommercialName | string |
String length: inclusive between 0 and 200 |
|
PhoneNumber | string |
None. |
|
CellPhoneNumber | string |
None. |
|
PhoneExtension | string |
String length: inclusive between 0 and 4 |
|
EmailAddress | string |
None. |
|
Id |
Primary Id |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ContactType": "Unknown", "FirstName": "sample string 1", "LastName": "sample string 2", "CommercialName": "sample string 3", "PhoneNumber": "sample string 4", "CellPhoneNumber": "sample string 5", "PhoneExtension": "sample string 6", "EmailAddress": "sample string 7", "Id": 8 }
application/xml, text/xml
Sample:
<AgencyContactDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GCApi.Models"> <Expand></Expand> <Expansions xmlns:d2p1="http://schemas.datacontract.org/2004/07/GCApi.Enums" /> <Id>8</Id> <CellPhoneNumber>sample string 5</CellPhoneNumber> <CommercialName>sample string 3</CommercialName> <ContactType>Unknown</ContactType> <EmailAddress>sample string 7</EmailAddress> <FirstName>sample string 1</FirstName> <LastName>sample string 2</LastName> <PhoneExtension>sample string 6</PhoneExtension> <PhoneNumber>sample string 4</PhoneNumber> </AgencyContactDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Update Agency Contact
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.