POST api/srs/contact
Create a contact to a specific registry
Request Information
URI Parameters
None.
Body Parameters
SrsContactCreateParams| Name | Description | Type | Additional information |
|---|---|---|---|
| RegistryId | string |
Required |
|
| ContactId | string |
Required |
|
| RegistryContactId | string |
Required |
|
| ContactType | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"RegistryId": "sample string 1",
"ContactId": "sample string 2",
"RegistryContactId": "sample string 3",
"ContactType": "sample string 4"
}
application/xml, text/xml
Sample:
<SrsContactCreateParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Namebay.Rest.Api.Models.SrsParams"> <ContactId>sample string 2</ContactId> <ContactType>sample string 4</ContactType> <RegistryContactId>sample string 3</RegistryContactId> <RegistryId>sample string 1</RegistryId> </SrsContactCreateParams>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
SrsRestResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| XmlStatusCode |
The legacy status codes as found in Interface.cs |
integer |
None. |
| Values |
Additional values |
Collection of string |
None. |
| ResponseData |
The response data of a successful SRS call |
Collection of Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"XmlStatusCode": 1,
"Values": [
"sample string 1",
"sample string 2"
],
"ResponseData": null
}
application/xml
Sample:
text/xml
Sample: