POST api/GreenUser

Request Information

URI Parameters

None.

Body Parameters

GreenUser
NameDescriptionTypeAdditional information
UniqueKey

integer

None.

FName

string

None.

LName

string

None.

MemberCode

integer

None.

Company

string

None.

LoginKey

string

None.

UserRole

integer

None.

Email

string

None.

MName

string

None.

JobTitle

string

None.

Phone

string

None.

Cell

string

None.

PrimaryContact

string

None.

AccountingContact

string

None.

MailChimp

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UniqueKey": 1,
  "FName": "sample string 2",
  "LName": "sample string 3",
  "MemberCode": 4,
  "Company": "sample string 5",
  "LoginKey": "sample string 6",
  "UserRole": 7,
  "Email": "sample string 8",
  "MName": "sample string 9",
  "JobTitle": "sample string 10",
  "Phone": "sample string 11",
  "Cell": "sample string 12",
  "PrimaryContact": "sample string 13",
  "AccountingContact": "sample string 14",
  "MailChimp": "sample string 15"
}

application/xml, text/xml

Sample:
<GreenUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GeminiShippers.Common.RESTfulGreenable">
  <AccountingContact>sample string 14</AccountingContact>
  <Cell>sample string 12</Cell>
  <Company>sample string 5</Company>
  <Email>sample string 8</Email>
  <FName>sample string 2</FName>
  <JobTitle>sample string 10</JobTitle>
  <LName>sample string 3</LName>
  <LoginKey>sample string 6</LoginKey>
  <MName>sample string 9</MName>
  <MailChimp>sample string 15</MailChimp>
  <MemberCode>4</MemberCode>
  <Phone>sample string 11</Phone>
  <PrimaryContact>sample string 13</PrimaryContact>
  <UniqueKey>1</UniqueKey>
  <UserRole>7</UserRole>
</GreenUser>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>