Operation
Add Account Receivable to Profile
Style |
---|
table { width: 100%; } body.page-gadget { padding-top: 20px; } .separator{ margin: 5px 0; } |
Div | ||
---|---|---|
| ||
POST |
Div | ||
---|---|---|
| ||
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/profile/{profileId}/accountReceivable |
Request
Property | Type | Required | Type parameter | Default value | Description |
---|---|---|---|---|---|
chainId | Integer | true | path parameter | 0 | Unique identificator of the chain. |
propertyId | Integer | true | path parameter | 0 | Unique identificator of the property. |
propertyIdList | List<Integer> | false | request parameter | 0 |
Example request
Code Block | ||||
---|---|---|---|---|
| ||||
POST https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/profile/2/accountReceivable |
Body
An element of type AccountReceivable.
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Example body
Code Block | ||
---|---|---|
| ||
{
"code": "123456789A",
"name": "John",
"accountReceivableAddressList": [
{
"city": "Barcelona",
"postalCode": "08001",
"street": "c/Diputació 314",
"countryCode": "ESP",
"stateProvCode": "ES-B",
"municipalityCode": "019"
}
],
"accountReceivableEmailList": [
{
"email": "example@gmail.com"
}
],
"accountReceivablePhoneList": [
{
"phoneNumber": "123456789"
}
]
} |
Response
ResponseApiMessage
Example response
Code Block | ||
---|---|---|
| ||
{ "httpStatus": "201", "userMessage": "Success", "technicalMessage": "Success AccountReceivable added to Profile", "errorCode": "0", "moreInfo": "0", "id": 18, "entity": null, "responseApiErrorList": null } |