Billhighway Cloud API

<back to all web services

Company

The following routes are available for this service:
POST/company
Company Parameters:
NameParameterData TypeRequiredDescription
UniqueIdbodystringNo
CreatedDateTimebodyDateTimeNo
ClientIdbodyintNo
GroupIdbodystringNo
CompanyIdbodyintNo
ExternalCompanyIdbodystringNo
CompanyNamebodystringNo
Address1bodystringNo
Address2bodystringNo
CitybodystringNo
StatebodystringNo
ZipCodebodystringNo
CountrybodystringNo
WebsitebodystringNo
PhoneNumberbodystringNo
FaxbodystringNo
StateIdbodyintNo
CountryIdbodyintNo
ChapIdbodyintNo
CompanyReply Parameters:
NameParameterData TypeRequiredDescription
UniqueIdformstringNo
CompanyIdformintNo
ReplyBase Parameters:
NameParameterData TypeRequiredDescription
ErrorCodeformintNo
ErrorMessageformstringNo
IsErrorformboolNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /company HTTP/1.1 
Host: devapi.billhighway.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	UniqueId: String,
	CreatedDateTime: 0001-01-01,
	ClientId: 0,
	GroupId: String,
	CompanyId: 0,
	ExternalCompanyId: String,
	CompanyName: String,
	Address1: String,
	Address2: String,
	City: String,
	State: String,
	ZipCode: String,
	Country: String,
	Website: String,
	PhoneNumber: String,
	Fax: String,
	StateId: 0,
	CountryId: 0,
	ChapId: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	UniqueId: String,
	CompanyId: 0,
	ErrorCode: 0,
	ErrorMessage: String,
	IsError: False
}