| PUT | /profileuser/company | Update company for profile |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | body | uint | No | |
| ModifiedById | body | int | No | |
| Name | body | string | No | |
| Nip | body | string | No | |
| Regon | body | string | No | |
| Krs | body | string | No | |
| TypeId | body | int | No | |
| RecipientCType | body | string | No | |
| Description | body | string | No | |
| StreetName | body | string | No | |
| StreetNumber | body | string | No | |
| StreetFlatNumber | body | string | No | |
| PostalCode | body | string | No | |
| Town | body | string | No | |
| CountryId | body | uint | No | |
| Country | body | string | No | |
| body | string | No | ||
| WebSite | body | string | No | |
| PhoneNumber | body | string | No | |
| FaxNumber | body | string | No | |
| PhoneNumber1 | body | string | No | |
| MobileNumber | body | string | No | |
| UserId | body | uint | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | T | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Code | form | string | No | |
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | Object | No | |
| IsSuccess | form | bool | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
PUT /profileuser/company HTTP/1.1
Host: api.chmuradokumentow.pl
Accept: application/json
Content-Type: application/json
Content-Length: length
{"id":0,"modifiedById":0,"name":"String","nip":"String","regon":"String","krs":"String","typeId":0,"recipientCType":"String","description":"String","streetName":"String","streetNumber":"String","streetFlatNumber":"String","postalCode":"String","town":"String","countryId":0,"country":"String","email":"String","webSite":"String","phoneNumber":"String","faxNumber":"String","phoneNumber1":"String","mobileNumber":"String","userId":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"id":0,"code":"FAIL","responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"result":{},"isSuccess":false}