POST api/i3/UpsertAccount

Request Information

URI Parameters

None.

Body Parameters

I3Account
NameDescriptionTypeAdditional information
AccountNumber

string

None.

Name

string

None.

State

string

None.

Address1

string

None.

Address2

string

None.

City

string

None.

Telephone

string

None.

Telephone2

string

None.

Fax

string

None.

Fax2

string

None.

Status

string

None.

PostalCode

string

None.

sg_dotstatus

string

None.

GlobalId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountNumber": "sample string 1",
  "Name": "sample string 2",
  "State": "sample string 3",
  "Address1": "sample string 4",
  "Address2": "sample string 5",
  "City": "sample string 6",
  "Telephone": "sample string 7",
  "Telephone2": "sample string 8",
  "Fax": "sample string 9",
  "Fax2": "sample string 10",
  "Status": "sample string 11",
  "PostalCode": "sample string 12",
  "sg_dotstatus": "sample string 13",
  "GlobalId": "sample string 14"
}

application/xml, text/xml

Sample:
<I3Account xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LoadInvoiceReport.Models">
  <AccountNumber>sample string 1</AccountNumber>
  <Address1>sample string 4</Address1>
  <Address2>sample string 5</Address2>
  <City>sample string 6</City>
  <Fax>sample string 9</Fax>
  <Fax2>sample string 10</Fax2>
  <GlobalId>sample string 14</GlobalId>
  <Name>sample string 2</Name>
  <PostalCode>sample string 12</PostalCode>
  <State>sample string 3</State>
  <Status>sample string 11</Status>
  <Telephone>sample string 7</Telephone>
  <Telephone2>sample string 8</Telephone2>
  <sg_dotstatus>sample string 13</sg_dotstatus>
</I3Account>

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.