Bonjour,

je cherche a mettre en place une implémentation de l'API DPAE
j'arrive a m'authentifier https://mon.urssaf.fr/authentifier_dpae et recevoir un jeton

quand j'essaie de faire un dépôt comme décrit dans page 5 du document https://www.dpae-edi.urssaf.fr/5492-...ementation.pdf voir ci-dessous
j'obtient l'erreur 422 : 'Unprocessable Entity'

merci par avance de votre aide
POST /deposer-dsn/1.0/ HTTP/1.1
Host: depot.dpae-edi.urssaf.fr
Authorization:
Content-Type: text/plain
Content-Encoding : gzip
Content-Length: 4096
Code XML : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
 
<?xml version="1.0" encoding="ISO-8859-1" ?>
<FR_DUE_Upload xmlns:cct="urn:oasis:names:tc:ubl:corecomponentTypes:1.0:0.70"
xmlns:rxdt="http://www.repxml.org/DataTypes"
xmlns:rxorg="http://www.repxml.org/Organization"
xmlns:rxpadr="http://www.repxml.org/PostalAddress"
xmlns:rxpers="http://www.repxml.org/Person_Identity"
xmlns:rxphadr="http://www.repxml.org/PhoneAddress"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
 <FR_DUE_Upload.Test.Indicator>120</FR_DUE_Upload.Test.Indicator>
 <FR_DuesGroup>
 <FR_Employer>
 <FR_EmployerIdentity>
 
<rxorg:FR_Organization.SIRET.Identifier>99999999999999</rxorg:FR_Organization.SIRE
T.Identifier>
 
 <rxorg:FR_Organization.APE.Code>8110Z</rxorg:FR_Organization.APE.Code>
 </FR_EmployerIdentity>
 <FR_Employer.URSSAF.Code>257</FR_Employer.URSSAF.Code>
 <FR_EmployerAddress>
 <rxpadr:FR_PostalAddress.StreetDesignation.Text>44 rue DES
TEST</rxpadr:FR_PostalAddress.StreetDesignation.Text>
 
<rxpadr:FR_PostalAddress.Town.Text>CAEN</rxpadr:FR_PostalAddress.Town.Text>
 
<rxpadr:FR_PostalAddress.Postal.Code>14000</rxpadr:FR_PostalAddress.Postal.Code>
 </FR_EmployerAddress>
 <FR_EmployerContact><FR_PhoneNumber>
 
<rxphadr:FR_PhoneAddress.PhoneNumber.Text>0000000000</rxphadr:FR_PhoneAddress.Phon
eNumber.Text>
 </FR_PhoneNumber>
 </FR_EmployerContact>
 </FR_Employer>
<FR_EmployeeGroup>
 <FR_Employee>
 <FR_EmployeeIdentity>
 
<rxpers:FR_PersonIdentity.Surname.Text>TEST</rxpers:FR_PersonIdentity.Surname.Text
>
 
<rxpers:FR_PersonIdentity.ChristianName.Text>Alain</rxpers:FR_PersonIdentity.Chris
tianName.Text>
 
<rxpers:FR_PersonIdentity.Sex.Code>1</rxpers:FR_PersonIdentity.Sex.Code>
 <rxpers:FR_NNI>
<rxpers:FR_NNI.NIR.Identifier>1000000000000</rxpers:FR_NNI.NIR.Identifier>
<rxpers:FR_NNI.NIRKey.Text>99</rxpers:FR_NNI.NIRKey.Text>
 </rxpers:FR_NNI>
 <rxpers:FR_Birth>
 <rxpers:FR_Birth.Date>1970-01-01</rxpers:FR_Birth.Date>
 <rxpers:FR_Birth.Town.Text>PARIS</rxpers:FR_Birth.Town.Text>
 </rxpers:FR_Birth>
 </FR_EmployeeIdentity>
 <FR_EmployeeComplement>
 
<FR_EmployeeComplement.Birth_Department.Code>75</FR_EmployeeComplement.Birth_Depar
tment.Code>
 </FR_EmployeeComplement>
 </FR_Employee>
 <FR_Contract>
 <FR_Contract.StartContract.Date>2015-07-
17</FR_Contract.StartContract.Date>
 
<FR_Contract.StartContract.Time>12:30:00</FR_Contract.StartContract.Time>
 <FR_Contract.EndContract.Date>2015-09-
15</FR_Contract.EndContract.Date>
 <FR_Contract.Nature.Code>CDI</FR_Contract.Nature.Code>
 
<FR_Contract.HealthService.Text>387</FR_Contract.HealthService.Text>
 </FR_Contract>
 </FR_EmployeeGroup>
 </FR_DuesGroup>
 </FR_DUE_Upload>