PUT api/LegislativeDirectory/PutRepresentativeMeta?representativeName={representativeName}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
representativeName | string |
Required |
Body Parameters
Collection of RepresentativeMetaDatapointDTOName | Description | Type | Additional information |
---|---|---|---|
DatapointLabel | string |
None. |
|
RepresentativeName | string |
None. |
|
RepresentativeMetaId | integer |
None. |
|
Value | string |
None. |
|
VersionId | string |
None. |
Request Formats
application/json, text/json
Sample:
[ { "DatapointLabel": "sample string 1", "RepresentativeName": "sample string 2", "RepresentativeMetaId": 1, "Value": "sample string 3", "VersionId": "sample string 4" }, { "DatapointLabel": "sample string 1", "RepresentativeName": "sample string 2", "RepresentativeMetaId": 1, "Value": "sample string 3", "VersionId": "sample string 4" } ]
application/xml, text/xml
Sample:
<ArrayOfRepresentativeMetaDatapointDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bulletin.Model.DTO"> <RepresentativeMetaDatapointDTO> <DatapointLabel>sample string 1</DatapointLabel> <RepresentativeMetaId>1</RepresentativeMetaId> <RepresentativeName>sample string 2</RepresentativeName> <Value>sample string 3</Value> <VersionId>sample string 4</VersionId> </RepresentativeMetaDatapointDTO> <RepresentativeMetaDatapointDTO> <DatapointLabel>sample string 1</DatapointLabel> <RepresentativeMetaId>1</RepresentativeMetaId> <RepresentativeName>sample string 2</RepresentativeName> <Value>sample string 3</Value> <VersionId>sample string 4</VersionId> </RepresentativeMetaDatapointDTO> </ArrayOfRepresentativeMetaDatapointDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |