How to use payload of NVTX

How to use nvtxPayloadSchemaRegister,nvtxRangePushPayload,nvtxMarkPayload and so on. Is there any example I can get?