POST api/commerce/providers/admin/profiles

Request Information

URI Parameters

None.

Body Parameters

CommerceProviderProfileCreateDTO
NameDescriptionTypeAdditional information
ProviderCode

string

None.

ProviderType

string

None.

Environment

string

None.

OperatorMemberID

globally unique identifier

None.

ProfileDisplayName

string

None.

Values

Collection of CommerceProviderCredentialValueDTO

None.

Reason

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ProviderCode": "sample string 1",
  "ProviderType": "sample string 2",
  "Environment": "sample string 3",
  "OperatorMemberID": "83f1e2b6-c16f-4566-83b2-f8fa1b0ba8f3",
  "ProfileDisplayName": "sample string 5",
  "Values": [
    {
      "Key": "sample string 1",
      "Value": "sample string 2"
    },
    {
      "Key": "sample string 1",
      "Value": "sample string 2"
    }
  ],
  "Reason": "sample string 6"
}

application/xml, text/xml

Sample:
<CommerceProviderProfileCreateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AIProject.API.Models.DTO">
  <Environment>sample string 3</Environment>
  <OperatorMemberID>83f1e2b6-c16f-4566-83b2-f8fa1b0ba8f3</OperatorMemberID>
  <ProfileDisplayName>sample string 5</ProfileDisplayName>
  <ProviderCode>sample string 1</ProviderCode>
  <ProviderType>sample string 2</ProviderType>
  <Reason>sample string 6</Reason>
  <Values>
    <CommerceProviderCredentialValueDTO>
      <Key>sample string 1</Key>
      <Value>sample string 2</Value>
    </CommerceProviderCredentialValueDTO>
    <CommerceProviderCredentialValueDTO>
      <Key>sample string 1</Key>
      <Value>sample string 2</Value>
    </CommerceProviderCredentialValueDTO>
  </Values>
</CommerceProviderProfileCreateDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.