Update AccountReceivable [PUT]

Operation

Re-assign cashier to other cashier authorized for that user.

PUT
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/accountReceivable/{accountReceivableId}


Request


PropertyTypeRequiredType parameterDefault valueDescription
chainIdIntegertruepath parameter0Unique identificator of the chain.
propertyIdIntegertruepath parameter0Unique identificator of the property.
accountReceivableIdIntegertruerequest parameter0Unique identificator of the accountReceivable.

Example request

PUT https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/2/accountReceivable/3

Example body

Body

An element of type AccountReceivable.


FieldTypeRequiredDescription
idIntegertrueUnique identifier for the

AccountReceivable.

codeStringtrueCode of the

AccountReceivable. <10 length

nameStringtrueName of the

AccountReceivable. <50 length

accountReceivableStatementSendTypeAccountReceivableStatementSendTypefalse
emailStatementSendStringfalse
limitDueDayIntegerfalse
limitAmountBigDecimalfalse
accountReceivableEmailListAccountReceivableEmailfalse
accountReceivablePhoneListAccountReceivablePhonefalse
accountReceivableAddressListAccountReceivableAddressfalse
remarkStringfalseMAX 255

{
    "id": 3,
    "code": "ACC test",
    "name": "1Eayoa",
    "emailStatementSend": "test@septeo.com",
    "accountReceivableStatementSendType": {
        "id": 2,
        "code": "BAVEL",
        "name": "Bavel",
        "nameI18n": "Bavel",
        "integration": null
    },
    "limitDueDay": 15,
    "limitAmount": 15000,
    "remark": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusm",
    "accountReceivableEmailList": [
        {
            "email": "test@septeo.com"
        }
    ],
    "accountReceivablePhoneList": [
        {
            "phoneNumber": "+341112223334444"
        }
    ],
    "accountReceivableAddressList": [
        {
            "street": "Diagonal"
        }
    ]
}
}

Response

ResponseApiMessage

Example response

{
    "httpStatus": "201",
    "userMessage": "Success",
    "technicalMessage": "Success AccountReceivable updated",
    "errorCode": "0",
    "moreInfo": "0",
    "id": 3,
    "entity": null,
    "responseApiErrorList": null
}