PUT {bucket}/customer
Updates the specified entity.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| bucket | string |
None. |
Body Parameters
The entity.
CustomerModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ExternalId | string |
String length: inclusive between 0 and 50 |
|
| Name | string |
Required String length: inclusive between 0 and 300 |
|
| Address | string |
String length: inclusive between 0 and 300 |
|
| City | string |
String length: inclusive between 0 and 50 |
|
| ZipCode | string |
String length: inclusive between 0 and 50 |
|
| Country | string |
String length: inclusive between 0 and 50 |
|
| WebSiteUrl | string |
String length: inclusive between 0 and 1000 |
|
| Siret | string |
String length: inclusive between 0 and 50 |
|
| Siren | string |
String length: inclusive between 0 and 50 |
|
| RecruitmentTypeId | integer |
Required |
|
| Description | string |
String length: inclusive between 0 and 4000 |
|
| PhoneNumber | string |
Required String length: inclusive between 0 and 50 |
|
| Fax | string |
String length: inclusive between 0 and 50 |
|
| string |
String length: inclusive between 0 and 255 |
||
| ContactCivility | string |
Required String length: inclusive between 0 and 10 |
|
| ContactLastName | string |
Required String length: inclusive between 0 and 100 |
|
| ContactFirstName | string |
Required String length: inclusive between 0 and 100 |
|
| ContactFunction | string |
Required String length: inclusive between 0 and 100 |
|
| Comment | string |
None. |
|
| CreatedAt | date |
Data type: Date |
|
| CreatedBy | string |
String length: inclusive between 0 and 50 |
|
| UpdatedAt | date |
Data type: Date |
|
| entrepriseId | integer |
None. |
|
| AtsName | string |
String length: inclusive between 0 and 50 |
|
| AtsTPId | integer |
None. |
|
| Contracts | Collection of ContractModel |
None. |
|
| Orders | Collection of OrderModel |
None. |
Request Formats
application/json, text/json
{
"Id": 1,
"ExternalId": "sample string 2",
"Name": "sample string 3",
"Address": "sample string 4",
"City": "sample string 5",
"ZipCode": "sample string 6",
"Country": "sample string 7",
"WebSiteUrl": "sample string 8",
"Siret": "sample string 9",
"Siren": "sample string 10",
"RecruitmentTypeId": 11,
"Description": "sample string 12",
"PhoneNumber": "sample string 13",
"Fax": "sample string 14",
"Email": "sample string 15",
"ContactCivility": "sample string 16",
"ContactLastName": "sample string 17",
"ContactFirstName": "sample string 18",
"ContactFunction": "sample string 19",
"Comment": "sample string 20",
"CreatedAt": "2025-12-14T20:27:27.9258416+01:00",
"CreatedBy": "sample string 21",
"UpdatedAt": "2025-12-14T20:27:27.9258416+01:00",
"entrepriseId": 1,
"AtsName": "sample string 22",
"AtsTPId": 1,
"Contracts": [
{
"Id": 1,
"SourceId": 2,
"CustomerId": 3,
"ExternalContractId": "sample string 4",
"Login": "sample string 5",
"Password": "sample string 6",
"SubscriptionTypeId": 1,
"StartDate": "2025-12-14T20:27:27.9258416+01:00",
"EndDate": "2025-12-14T20:27:27.9258416+01:00",
"InitialSlot": 1,
"CurrentSlot": 1,
"CreatedAt": "2025-12-14T20:27:27.9258416+01:00",
"CreatedBy": "sample string 8",
"Comments": "sample string 9",
"RefContrStat": 1,
"RefContrSite": 10
},
{
"Id": 1,
"SourceId": 2,
"CustomerId": 3,
"ExternalContractId": "sample string 4",
"Login": "sample string 5",
"Password": "sample string 6",
"SubscriptionTypeId": 1,
"StartDate": "2025-12-14T20:27:27.9258416+01:00",
"EndDate": "2025-12-14T20:27:27.9258416+01:00",
"InitialSlot": 1,
"CurrentSlot": 1,
"CreatedAt": "2025-12-14T20:27:27.9258416+01:00",
"CreatedBy": "sample string 8",
"Comments": "sample string 9",
"RefContrStat": 1,
"RefContrSite": 10
}
],
"Orders": [
{
"Id": 1,
"ExternalId": "sample string 2",
"RefOrderType": 3,
"CustomerId": 4,
"SourceId": 5,
"CreatedAt": "2025-12-14T20:27:27.9258416+01:00",
"CreatedBy": "sample string 6",
"UpdatedAt": "2025-12-14T20:27:27.9258416+01:00",
"UpdatedBy": "sample string 7",
"LastHistoryId": 1,
"IsEnabled": true,
"ListOrderStatus": [
{
"Id": 1,
"OrderId": 2,
"RefOrderStat": 3,
"Note": "sample string 4",
"CreatedAt": "2025-12-14T20:27:27.9258416+01:00",
"CreatedBy": "sample string 5"
},
{
"Id": 1,
"OrderId": 2,
"RefOrderStat": 3,
"Note": "sample string 4",
"CreatedAt": "2025-12-14T20:27:27.9258416+01:00",
"CreatedBy": "sample string 5"
}
],
"PlugList": {
"Id": 1,
"FamilyId": 2,
"Code": "sample string 3",
"Label": "sample string 4"
}
},
{
"Id": 1,
"ExternalId": "sample string 2",
"RefOrderType": 3,
"CustomerId": 4,
"SourceId": 5,
"CreatedAt": "2025-12-14T20:27:27.9258416+01:00",
"CreatedBy": "sample string 6",
"UpdatedAt": "2025-12-14T20:27:27.9258416+01:00",
"UpdatedBy": "sample string 7",
"LastHistoryId": 1,
"IsEnabled": true,
"ListOrderStatus": [
{
"Id": 1,
"OrderId": 2,
"RefOrderStat": 3,
"Note": "sample string 4",
"CreatedAt": "2025-12-14T20:27:27.9258416+01:00",
"CreatedBy": "sample string 5"
},
{
"Id": 1,
"OrderId": 2,
"RefOrderStat": 3,
"Note": "sample string 4",
"CreatedAt": "2025-12-14T20:27:27.9258416+01:00",
"CreatedBy": "sample string 5"
}
],
"PlugList": {
"Id": 1,
"FamilyId": 2,
"Code": "sample string 3",
"Label": "sample string 4"
}
}
]
}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.