POST api/client/{id}/keys

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

ClientKey
NameDescriptionTypeAdditional information
ClientKeyId

integer

None.

ClientId

integer

None.

ClientPrivateKey

string

None.

ClientPublicKey

string

None.

ClientKeyActive

integer

None.

ClientKeyActiveDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ClientKeyId": 1,
  "ClientId": 2,
  "ClientPrivateKey": "sample string 3",
  "ClientPublicKey": "sample string 4",
  "ClientKeyActive": 5,
  "ClientKeyActiveDate": "2020-04-03T01:27:21.921931-05:00"
}

text/html

Sample:
{"ClientKeyId":1,"ClientId":2,"ClientPrivateKey":"sample string 3","ClientPublicKey":"sample string 4","ClientKeyActive":5,"ClientKeyActiveDate":"2020-04-03T01:27:21.921931-05:00"}

application/xml, text/xml

Sample:
<ClientKey xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FeedFlowAPI.Models.Out">
  <ClientId>2</ClientId>
  <ClientKeyActive>5</ClientKeyActive>
  <ClientKeyActiveDate>2020-04-03T01:27:21.921931-05:00</ClientKeyActiveDate>
  <ClientKeyId>1</ClientKeyId>
  <ClientPrivateKey>sample string 3</ClientPrivateKey>
  <ClientPublicKey>sample string 4</ClientPublicKey>
</ClientKey>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ClientKey'.

Response Information

Resource Description

Collection of ClientKey
NameDescriptionTypeAdditional information
ClientKeyId

integer

None.

ClientId

integer

None.

ClientPrivateKey

string

None.

ClientPublicKey

string

None.

ClientKeyActive

integer

None.

ClientKeyActiveDate

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ClientKeyId": 1,
    "ClientId": 2,
    "ClientPrivateKey": "sample string 3",
    "ClientPublicKey": "sample string 4",
    "ClientKeyActive": 5,
    "ClientKeyActiveDate": "2020-04-03T01:27:21.9229311-05:00"
  },
  {
    "ClientKeyId": 1,
    "ClientId": 2,
    "ClientPrivateKey": "sample string 3",
    "ClientPublicKey": "sample string 4",
    "ClientKeyActive": 5,
    "ClientKeyActiveDate": "2020-04-03T01:27:21.9229311-05:00"
  }
]

text/html

Sample:
[{"ClientKeyId":1,"ClientId":2,"ClientPrivateKey":"sample string 3","ClientPublicKey":"sample string 4","ClientKeyActive":5,"ClientKeyActiveDate":"2020-04-03T01:27:21.9229311-05:00"},{"ClientKeyId":1,"ClientId":2,"ClientPrivateKey":"sample string 3","ClientPublicKey":"sample string 4","ClientKeyActive":5,"ClientKeyActiveDate":"2020-04-03T01:27:21.9229311-05:00"}]

application/xml, text/xml

Sample:
<ArrayOfClientKey xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FeedFlowAPI.Models.Out">
  <ClientKey>
    <ClientId>2</ClientId>
    <ClientKeyActive>5</ClientKeyActive>
    <ClientKeyActiveDate>2020-04-03T01:27:21.9229311-05:00</ClientKeyActiveDate>
    <ClientKeyId>1</ClientKeyId>
    <ClientPrivateKey>sample string 3</ClientPrivateKey>
    <ClientPublicKey>sample string 4</ClientPublicKey>
  </ClientKey>
  <ClientKey>
    <ClientId>2</ClientId>
    <ClientKeyActive>5</ClientKeyActive>
    <ClientKeyActiveDate>2020-04-03T01:27:21.9229311-05:00</ClientKeyActiveDate>
    <ClientKeyId>1</ClientKeyId>
    <ClientPrivateKey>sample string 3</ClientPrivateKey>
    <ClientPublicKey>sample string 4</ClientPublicKey>
  </ClientKey>
</ArrayOfClientKey>