Required role: | Admin |
POST, OPTIONS | /R_BrandOwner/{Id} | ||
---|---|---|---|
DELETE, OPTIONS | /R_BrandOwner/{Id} | ||
DELETE, OPTIONS | /R_BrandOwner/{Id} | ||
PUT, OPTIONS | /R_BrandOwner/{Id} |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | path | long | No | |
UserId | body | long | No | |
BrandId | body | long | No | |
FirstName | body | string | No | |
LastName | body | string | No | |
UpdatedDateTime | body | DateTime? | No | |
CreateDateTime | body | DateTime | No | |
AddressLine1 | body | string | No | |
AddressLine2 | body | string | No | |
City | body | string | No | |
State | body | string | No | |
Country | body | string | No | |
ZipCode | body | string | No | |
body | string | No | ||
Phone | body | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | path | long | No | |
UserId | body | long | No | |
BrandId | body | long | No | |
FirstName | body | string | No | |
LastName | body | string | No | |
UpdatedDateTime | body | DateTime? | No | |
CreateDateTime | body | DateTime | No | |
AddressLine1 | body | string | No | |
AddressLine2 | body | string | No | |
City | body | string | No | |
State | body | string | No | |
Country | body | string | No | |
ZipCode | body | string | No | |
body | string | No | ||
Phone | body | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /jsv/reply/R_BrandOwner HTTP/1.1
Host: regapi.pumpalarm.com
Content-Type: text/jsv
Content-Length: length
{
Id: 0,
UserId: 0,
BrandId: 0,
FirstName: String,
LastName: String,
UpdatedDateTime: 0001-01-01,
CreateDateTime: 0001-01-01,
AddressLine1: String,
AddressLine2: String,
City: String,
State: String,
Country: String,
ZipCode: String,
Email: String,
Phone: String
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { Id: 0, UserId: 0, BrandId: 0, FirstName: String, LastName: String, UpdatedDateTime: 0001-01-01, CreateDateTime: 0001-01-01, AddressLine1: String, AddressLine2: String, City: String, State: String, Country: String, ZipCode: String, Email: String, Phone: String }