---
title: Examples of webservices usage
slug: dev-en/examples-of-webservices-usage
description: Learn how to validate permissions for registering requests in the 4biz system with this comprehensive document. Get step-by-step instructions for configuring web service operations and settings, including a helpful example call to the web service.
createdAt: 2021-11-18T19:58:44.000Z
---

Validate if requester has permission to register a request with the chosen activity. This webservice allows 4biz to validate whether the ticket requesters is allowed to register a request with an activity defined by them.

## Before getting started

- Configure WebService Operation: request\_create
- Configure contracts, groups, flows and permissions.

## Procedure

1. Access the URL: `/4biz/services/request/create`
2. Some settings in this WebService should be as follows:
   - synchronize"\:true,
   - Service must have the property: "name": "Failure - Event Mgmt.";

### Example of call

```shell
{
"sessionID":"61ec91e9-5397-466c-a342-08bbcd0e76a8",
"synchronize":true,
"sourceRequest":{
  "userID":"UserRegistered",
  "type":"I",
  "description": "Failure - Event Mgmt.",
  "contact":{
     "name":"User Registered",
     "phoneNumber":"000000000000",
     "email":"user@4biz.com",
     "department":"CR 07.014/13.027 - SM Team: Development and Innovation (HSM)"
  },
  "service":{
     "code":"170",
     "name": "Failure - Event Mgmt.",
    "category":{
      "name":"[4biz] Products"
    }
  },
  "contractID":"2",
  "numberOrigin":"52362"
}
}
```

