POST api/grp/AccountAuthorizationCodes/Management?locationAccountNumber={locationAccountNumber}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
locationAccountNumber

string

Required

Body Parameters

Collection of AccountAuthorizationCodeDTO
NameDescriptionTypeAdditional information
Code

string

None.

Description

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Code": "sample string 1",
    "Description": "sample string 2"
  },
  {
    "Code": "sample string 1",
    "Description": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAccountAuthorizationCodeDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSPApi.DTO.Group">
  <AccountAuthorizationCodeDTO>
    <Code>sample string 1</Code>
    <Description>sample string 2</Description>
  </AccountAuthorizationCodeDTO>
  <AccountAuthorizationCodeDTO>
    <Code>sample string 1</Code>
    <Description>sample string 2</Description>
  </AccountAuthorizationCodeDTO>
</ArrayOfAccountAuthorizationCodeDTO>

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 'List`1'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.