Implemented bulk import of persons
All checks were successful
Build, Push and Deploy / build-and-deploy (push) Successful in 1m43s
All checks were successful
Build, Push and Deploy / build-and-deploy (push) Successful in 1m43s
This commit is contained in:
39
bruno/propify/DataImport/Upload Persons.bru
Normal file
39
bruno/propify/DataImport/Upload Persons.bru
Normal file
@@ -0,0 +1,39 @@
|
||||
meta {
|
||||
name: Upload Persons
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{API_BASE_URL}}/api/{{API_VERSION}}/data-import/persons
|
||||
body: multipartForm
|
||||
auth: bearer
|
||||
}
|
||||
|
||||
auth:bearer {
|
||||
token: {{BEARER_TOKEN}}
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"name": "Bungalow",
|
||||
"street": "Hebbelstraße",
|
||||
"houseNumber": "30",
|
||||
"zipCode": "55127",
|
||||
"city": "Mainz",
|
||||
"country": "DE",
|
||||
"notes": "Lorem ipsum"
|
||||
}
|
||||
}
|
||||
|
||||
body:multipart-form {
|
||||
file: @file(/Users/muratoezkorkmaz/projects/misc/skamp/init_data/people-17911945-22.xlsx)
|
||||
}
|
||||
|
||||
body:file {
|
||||
file: @file(/Users/murat/Pictures/IMG_0229.jpeg) @contentType(image/jpeg)
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
Reference in New Issue
Block a user